Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

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




  • Prev by Date: Formatting in Mathematica
  • Next by Date: help me on this problem
  • Previous by thread: Formatting in Mathematica
  • Next by thread: Re: Using !/bin/command inside a loop