VMD-L Mailing List
From: Sara baretller (sarabiocomputation_at_gmail.com)
Date: Tue Jul 26 2011 - 12:49:41 CDT
- Next message: Erik Nordgren: "Re: Understand a script"
- Previous message: Pavan Ghatty: "Re: Question about eval"
- In reply to: Ajasja Ljubetič: "Re: Understand a script"
- Next in thread: Erik Nordgren: "Re: Understand a script"
- Reply: Erik Nordgren: "Re: Understand a script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
Sara
On Tue, Jul 26, 2011 at 4:54 AM, Ajasja Ljubetič
<ajasja.ljubetic_at_gmail.com>wrote:
>
>
>> 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 <http://git-scm.com/> which
> on windows conventionally installs the most useful unix command line tools.
> Some additional tools can be found here <http://unxutils.sourceforge.net/> and
> here <http://gnuwin32.sourceforge.net/>.
> One can also install msys <http://www.mingw.org/wiki/MSYS> (This is
> basically what git is based on, but the installer is less is user friendly)
> or cygwin <http://www.cygwin.com/> (too slow).
>
> Of course, a native TCL implementation using glob is the best solution in
> this case.
>
> Best regards,
> Ajasja
>
- Next message: Erik Nordgren: "Re: Understand a script"
- Previous message: Pavan Ghatty: "Re: Question about eval"
- In reply to: Ajasja Ljubetič: "Re: Understand a script"
- Next in thread: Erik Nordgren: "Re: Understand a script"
- Reply: Erik Nordgren: "Re: Understand a script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]