From: Sara baretller (
Date: Tue Jul 26 2011 - 12:49:41 CDT

Thank you so much for your help

I am trying to sue the sed - stream editor for filtering and transforming
text to replace an ion with another one and in the same time make a space

cat file.gro | sed ``s/So/SA/g'' > processed.gro

so i used the sed command and i was able to change form So to SA but i
could not make the space after SA

here the processed.gro

like this SA 4562 instead of SA 4562

Please if you can help

Thank you


On Tue, Jul 26, 2011 at 4:54 AM, Ajasja Ljubetič

>> for more details on the find command try: man find
>> or: info find
>> this is, of course, not portable to windows.
> Well, that is not entirely true. One can install Git <> which
> on windows conventionally installs the most useful unix command line tools.
> Some additional tools can be found here <> and
> here <>.
> One can also install msys <> (This is
> basically what git is based on, but the installer is less is user friendly)
> or cygwin <> (too slow).
> Of course, a native TCL implementation using glob is the best solution in
> this case.
> Best regards,
> Ajasja