Hi all

I am trying to replace the letter "-r" with "-r new line"

my command is like this

# cat file |sed 's/-r/-r \n/g' > file2

the result I get is "-r" is replace to be "-r n"
what have I done wrong.

best regards
Mettavihari
Sri Lanka.

-------------------------------------------- 
A saying of the Buddha from http://metta.lk/ 
-------------------------------------------- 
He who has cut off all fetters, who trembles not, who has gone beyond ties, who is 
unbound, - him I call a Brahmana. 
Random Dhammapada Verse 397  
 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to