VMD-L Mailing List
From: Nuno Loureiro Ferreira (nunolf_at_ci.uc.pt)
Date: Tue Jul 17 2007 - 10:18:04 CDT
- Next message: John Stone: "Re: CAVE & Vmd"
- Previous message: John Stone: "Re: how to save a list in a file"
- In reply to: sally cii: "Re: how to save a list in a file"
- Next in thread: Nuno Loureiro Ferreira: "Re: how to save a list in a file"
- Reply: Nuno Loureiro Ferreira: "Re: how to save a list in a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
eh eh eh
I'm not a windows user.
Grep is a *nix command, not a tcl one, that's why its executed
with "exec grep ...".
But, I know that cygwin has grep (or similar command). Check
http://www.cygwin.com/.
Perhaps someone out there working on windows could help you.
There's zillions of ways to script, so there's always a way to do what
you want using plain tcl/vmd commands.
Cheers,
Nuno
P.S. Take this as an opportunity to slowly migrate to linux.
sally cii wrote:
> Dear Nuno,
>
> Thank you very much for your time. I have tried the script, it gave
> error message " couldn't execute "grep": no such file or directory"
> after printing out "sorting pairs of contacts ...", I think this
> happens because I am running VMD under Windows environment other than
> Unix, can I ask how should I modify the script in order to run it in
> Windows? I looked into the tcl manual, but couldn't finger out which
> command should I use to replace grep? Thank you again for your help.
>
- Next message: John Stone: "Re: CAVE & Vmd"
- Previous message: John Stone: "Re: how to save a list in a file"
- In reply to: sally cii: "Re: how to save a list in a file"
- Next in thread: Nuno Loureiro Ferreira: "Re: how to save a list in a file"
- Reply: Nuno Loureiro Ferreira: "Re: how to save a list in a file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]