system command

Jay R. Ashworth jra at baylink.com
Tue Nov 1 13:19:47 PST 2005


On Tue, Nov 01, 2005 at 04:00:08PM -0500, Dennis Malen wrote:
> What I suggest is to create 2 files that reside in /tmp. File1 is the first 
> part of the line up to the @rn. File2 is the rest of the line after @rn. 
> Then use:
> 
> system "/tmp/file1"{@rn{"/tmp/file2"
> 
> If it all resided in one file in /tmp it works perfectly by using the 
> original text that worked on the unix command line.

Well, *my* personal favorite approach to this has always been to build
the command line piece by piece.

::sc="first":
::sc=sc&"second":
::sc=sc&"third":
::sc=sc&"fourth":
::sc=sc&"fifth":
::system sc:

I suspect I stole that from Jeff.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

	"NPR has a lot in common with Nascar... we both turn to the left."
		- Peter Sagal, on Wait Wait, Don't Tell Me!


More information about the Filepro-list mailing list