Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
buntar
· 14y ago · 0 comments
I could use a lightweigt and fast perl version of SED. There are incompatibilities between sed versions, especially between linux and mac. Therefor a small sed utility that you can ship with every release would be useful.
Comments
[–]
zokier
14y ago
perl -p -e?
[–]
peterwwillis
14y ago
add -i to edit a file in place
$ perl -p -i -e 's/\r\n/\n/' file1 file2 file3