954,249 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

replace a string

hello all
i hav a file in which i want to replace '/dev/null &' with " " .i m using

:s/'/dev/null &'/" "


but it is not replacing the string

manish250
Junior Poster in Training
87 posts since Aug 2008
Reputation Points: 10
Solved Threads: 1
 

what programming environment do you use (bash, c++)? Here is solution for bash (read last post there).

http://www.linuxforums.org/forum/programming-scripting/66737-bash-replace-string-file-another.html

Freude
Newbie Poster
20 posts since Apr 2010
Reputation Points: 10
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: