what i've learned

keeping track of what i'm learning

basic sed

file global replace using regex (old_file should not be the same as new_file)

sed ‘s/old/new/; s/old2/new2/’ old_file > new_file

from Oracle sed article

Comments (View)
blog comments powered by Disqus