Using !/bin/command inside a loop
- To: mathgroup at smc.vnet.net
- Subject: [mg5296] Using !/bin/command inside a loop
- From: sergio at scisun.sci.ccny.cuny.edu (Sergio Rojas)
- Date: Sat, 23 Nov 1996 01:44:37 -0500
- Organization: City College Of New York - Science
- Sender: owner-wri-mathgroup at wolfram.com
Hello folks;
As a single line in any MMa file the line: !/bin/rm filename
While[ (Otherset = InputString["New set (no to end)? "]) != "no",
% >> filename]
Syntax::sntxf: " !" cannot be followed by "/bin/rm filename;".
Could somebody explain the correct use of ! for this particular situation?
Rojas
e-mail: sergio at scisun.sci.ccny.cuny.edu