Date: Mon, 8 Sep 2008 10:50:32 -0400
Reply-To: Randy Herbison <RandyHerbison@WESTAT.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Randy Herbison <RandyHerbison@WESTAT.COM>
Subject: Re: SAS program calling Cygwin?
In-Reply-To: <0d7ecbb7-978d-4190-b32b-2a2cf1caf30f@m73g2000hsh.googlegroups.com>
Content-Type: text/plain; charset="us-ascii"
Do it just like any other command. Here are 2 ways:
x "c:\cygwin\bin\tail c:\temp\test.txt";
filename tail pipe "c:\cygwin\bin\tail c:\temp\test.txt";
data _null_;
infile tail;
input;
put _infile_;
run;
filename tail clear;
-Randy
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of RolandRB
Sent: Monday, September 08, 2008 6:11 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: SAS program calling Cygwin?
Suppose I have Cygwin installed on my PC (I have) then I am guessing it might be possible to use Cygwin-emulated Linux commands through a SAS X call. Does anyone know how to do this? I can call SAS from Cygwin without any problem but how about calling Cygwin from SAS using X?