Re: Specifying input file on #! line

2009-06-07 Thread Chap Harrison
On Jun 4, 2009, at 8:10 PM, Raymond Wan wrote: Chap Harrison wrote: I've read perldoc perlrun but find it pretty confusing. Things I've tried unsuccessfully are: #!/usr/bin/perl /dev/clipboard #!/usr/bin/perl < /dev/clipboard #!/usr/bin/perl -- /dev/clipboard The body of the script always be

Re: Specifying input file on #! line

2009-06-07 Thread Raymond Wan
Hi Chap, Chap Harrison wrote: On Jun 4, 2009, at 8:10 PM, Raymond Wan wrote: (Actually I dropped the whole idea when I decided to have the script write the filtered results back into the clipboard -- which necessitated hard-coding the path into the script anyway. Moreover, the whole thing