Search Results

Search: Posts Made By: tintin78899
10,747
Posted By tintin78899
Thanks durden_tyler. that worked !
Thanks durden_tyler. that worked !
10,747
Posted By tintin78899
Perl: substitute multiple lines
I'd like to do this using Perl command line (sorry no awk, sed, etc.)

replace the 3 middle lines in a file by one line:


aaa 123
bbb 234
ccc 34567
dd 4567
ee 567

to:
aaa 123
AAA
ee...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy