zaujimavy &

Martin Macok macok na kocour.ms.mff.cuni.cz
Pátek Květen 21 15:51:21 CEST 1999


On Fri, 21 May 1999, Jan Satko wrote:

> > $ echo 'jano=isiel&jozo=kracal' | sed -e 's/&/=/g'
> > jano=isiel=jozo=kracal
> > 
> >    Bye Borek
> 
> To ide aj mne, ale ked to chcem zautomatizovat cez subor tak to nejde.
> Zopakuje mi na 2 riadky prikaz.
> Musim sa snazit vyhnut pouzivaniu suboru a bude :-)
> Vdaka.

A normalni "tr" by na toto nestacil?

tr "&" "=" <soubor >soubor.2

 =====================================================
 |                  Martin Macok                     |
 | email:  martin.macok na st.mff.cuni.cz               |
 | WWW:    http://www.ms.mff.cuni.cz/~mmac7339/      |
 =====================================================



Další informace o konferenci Linux