Re: [QUIZ] Quine (#207)
- From: Sebastian Hungerecker <sepp2k@xxxxxxxxxxxxxx>
- Date: Mon, 1 Jun 2009 07:40:21 -0500
Am Montag 01 Juni 2009 06:30:16 schrieb Matthew Williams:
puts `cat #{$0}`
The problem with that is that it won't work when the file name contains spaces
or shell meta-characters. This will however:
system"cat",$0
.
- References:
- [QUIZ] Quine (#207)
- From: Daniel Moore
- Re: [QUIZ] Quine (#207)
- From: Jorrel
- Re: [QUIZ] Quine (#207)
- From: Matthew Williams
- [QUIZ] Quine (#207)
- Prev by Date: Re: How can I get command's result code, which executing via ssh
- Next by Date: Re: [QUIZ] Quine (#207)
- Previous by thread: Re: [QUIZ] Quine (#207)
- Next by thread: Re: [QUIZ] Quine (#207)
- Index(es):
Relevant Pages
|