in reply to Adding '#' in the beginning of each line
Well, in the real world, I'd do it like so:
perl -ple 's/^/#/'Whether your instructor has other goals in mind is something else entirely...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Adding '#' in the beginning of each line
by jdporter (Paladin) on Jan 24, 2010 at 23:54 UTC |