how to sed every char

2009-07-05 Thread Soren Orel
I can sed all the a-b-c-d-e, etc chars like this:

sed s//[a-z]/g

but how can I sed all the chars? (numbers, letters, special char)

thank you

regards, soren


Re: how to sed every char

2009-07-05 Thread Teemu Likonen
On 2009-07-05 12:18 (+0200), Soren Orel wrote:

 I can sed all the a-b-c-d-e, etc chars like this:

 sed s//[a-z]/g

 but how can I sed all the chars? (numbers, letters, special char)

What do you mean with verb sed here. What do you want to do? The
format of sed's s command is

s/regexp/replace/flags

In regexp atom . matches any character. If you want to match any
non-whitespace then use atom \S.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org