Adrenalin’s Experience

sed si Titlu | s/Titlu/Zuper titlu/ | s/Zuper titlu/Zuper Mega Titlu/

Posted in Uncategorized by Adrenalin on February 2, 2008

Daca de executat intr-o consola reala

[adrenalin@univers ~]$ echo “Titlu” | sed “s/Titlu/Zuper titlu/” | sed “s/Zuper/Zuper Mega/”
Zuper Mega titlu

s/Titlu/Zuper titlu/ <- are loc înlocuirea Titlu cu Zuper titlu

s/Zuper/Zuper Mega/ <- are loc înlocuirea Zuper cu Zuper Mega

Pe irc ft des se poate de întîlnit aşa ceva, cînd greşeşti vreo literă ceva, înlocuieşti s/Ce/Cu Ce/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: