26 Mar
2003
26 Mar
'03
11:28
Hallo, On Wed, 26 Mar 2003, Christoph Maurer wrote:
wie kann ich denn mehrere Wörter auf einmal verändern? Vielleicht so?:
sed 's/Hugo/Peter/' 's/Klaus/Jochen/' xyz.tmp > uvw.tmp
Fast
sed -e 's/Hugo/Peter/' -e 's/Klaus/Jochen/' xyz.tmp > uvw.tmp
Oder auch: sed -e 's/Hugo/Peter/g;s/Klaus/Jochen/g' -dnh -- Networks are like sewers ... My job is to make sure your data goes away when you flush, and to stop the rats climbing into your toilet through the pipes. (Tanuki, describing network administration.)