R
ray
Trying to substitute /bar/ for /foo/ and write the result of the
substitution to a file:
Both of commands are not correct syntactically, missing something or
not possible to print the result from a command ?
perl -pi -e 's/\bbar\b/foo/g' `find . -type f` -print 0| xargs -0
perl -pi -e -print 0| xargs -0 's/\bbar\b/foo/g' `find . -type f`
Please help me.
substitution to a file:
Both of commands are not correct syntactically, missing something or
not possible to print the result from a command ?
perl -pi -e 's/\bbar\b/foo/g' `find . -type f` -print 0| xargs -0
perl -pi -e -print 0| xargs -0 's/\bbar\b/foo/g' `find . -type f`
Please help me.