//View Tip #12
Similar Tips
» Print part of a file
» Find and replace on specific files
» Directory Tree
» Number each line of a file
» Duplicate directory tree

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Add a leading angle bracket and space to each line (quote a message)

sed 's/^/> /' filename


View Comments »



Comments 

Add your comment

CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.

No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit