Helpful Linux Command Line Reference

Usefeul Technical Help and Info

Helpful Linux Command Line Reference

Postby Amos » Fri Sep 21, 2007 11:24 pm

Last edited by Amos on Sat Sep 22, 2007 12:04 am, edited 1 time in total.
Don't Snooze

Amos
 
Posts: 134
Joined: Tue Apr 25, 2006 2:44 pm

Append To Each line

Postby Amos » Fri Sep 21, 2007 11:28 pm

Code: Select all
sed -e 's/.*/<P> &/' old.txt > new.html


Appends <P> to each line
Don't Snooze

Amos
 
Posts: 134
Joined: Tue Apr 25, 2006 2:44 pm


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron