Operating Systems > Linux and UNIX

Grep/File Searching question

<< < (3/3)

LorKorub:
Thanks again....you just saved me a lot of work!

I'll be sure to put this all in a file somehwere.  It is very valuable.

flap:

quote:and to specify a value to replace the original value? (for instance, to replace the line with "height=400px")
--- End quote ---


sed 's/height=200px/height=400px/g'

Calum:
thank you very much for your thoroughness.  

flap:
sed tutorial: http://www.grymoire.com/Unix/Sed.html

worth looking at similar tutorials for awk, grep, bash scripting etc

Navigation

[0] Message Index

[*] Previous page

Go to full version