Y
yusufm
Why does this work (prints out expected strings):
cat somefile | perl -ne 'chop; print;'
while this just prints out blank lines:
cat somefile | perl -ne 'print chop;'
thanks.
cat somefile | perl -ne 'chop; print;'
while this just prints out blank lines:
cat somefile | perl -ne 'print chop;'
thanks.