On Sun, Jul 13, 2014 at 06:44:18PM -0400, ESChamp wrote:
> Paul Johnson has written on 7/13/2014 5:00 PM:
> > perl -nale 'print $F[-1]' < original_file.txt > just_email.txt
> 
> e:\Docs\>perl -nale 'print $F[-1]' < 4sam.txt > just_email.txt
> Can't find string terminator "'" anywhere before EOF at -e line 1.

Ah, you're on Windows.  I think you need to use " quotes:

>perl -nale "print $F[-1]" < 4sam.txt > just_email.txt

but if I'm wrong, someone who knows more about Windows should be able to
say.

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to