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
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
On Thu, Jun 4, 2009 at 14:40, Chap Harrison wrote:
> I'm writing a collection of filters that read from the CygWin / Windows
> system copy buffer (/dev/clipboard) and write to STDOUT. I can certainly
> write Perl to open this "file" and read from it, but I wondered if there was
> a way to put it
Hi Chap,
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 begins
while (defined (my $line = <>
I'm writing a collection of filters that read from the CygWin /
Windows system copy buffer (/dev/clipboard) and write to STDOUT. I
can certainly write Perl to open this "file" and read from it, but I
wondered if there was a way to put it into the shebang line. I don't
have any reason to w