How to cat and sed together? – unix.stackexchange.com

I have this cat then sed operation: cat ${location_x}/file_1 > ${location_y}/file2 sed -i "s/0/1/g" /${location_y}/file2 Can this be done in a single line? I might miss such a way here, but that ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "How to cat and sed together? – unix.stackexchange.com"