hi,
How do I do this?
i want to search entire file foo.txt for string that started with "*one;twothree". Then see if that string contain string "FOO" or not. if Not Replace the first white-space with "FOO"
sed '/"*one;twothree/[HOW DO I CHECK FOR FOO HERE]s/ /FOO /' foo.txt
thanks
How do I do this?
i want to search entire file foo.txt for string that started with "*one;twothree". Then see if that string contain string "FOO" or not. if Not Replace the first white-space with "FOO"
sed '/"*one;twothree/[HOW DO I CHECK FOR FOO HERE]s/ /FOO /' foo.txt
thanks