• Re:substituting a file location usind sed s
    By : Neeraj Sharma ( Wed Apr 28 04:17:16 2004 )

    use | instead of / and it will work

    e.g. sed "s|DEFAULT_VALUE|${Location}|g" < textfile.txt > substitutedtextfile.txt

    Return to article...



    UNIXguide.net
    English to Visayan Cebuano Dictionary
    Suggest a Site
    Visayan Cebuano to English Dictionary