in reply to Re^2: Delete strings
in thread Delete strings
Try executing as below
perl -i.bak -ne"print if "\$f" ||= /1\.0/" file
In unix the shell interprets the $f. So you were unable to execute.
The great pleasure in my life is doing what people say you cannot do.
|
|---|