[comp.lang.rexx] AREXX--Need Help

bill@wfhami.UUCP (Bill Hogsett) (11/24/89)

I am trying to write an AREXX macro to do the following:

	(1) Sort comp.sys.amiga articles I have read by date.

	(2) Join the sorted articles into one file in date order.

	(3) Archive the file.

	(4) Move the file for later uploading to a BBS.

Stripped to the essentials, here is the macro:

	(1)'ls -ftHPX 1 -F "type %n  >>vd0:comp.sys.amiga\n" 
	    DH0:unix/mail/news/comp/sys/amiga >vd0:script'

	(2) 'execute vd0:script'

	(3) 'lharc a usenet comp.sys.amiga'

	(4) 'mv usenet.lzh arc:'

Line 1 works fine and creates a script which will sort the files by date and
type them to the file VD0:comp.sys.amiga.  The script works when invoked from
AmigaDos or if lines 3 and 4 above are deleted or commented out.  However,
with the last two lines in the macro the second line does not execute.

What am I missing?  Any help will be appreciated.






--
******************************************************************************
Bill Hogsett			CLEVELAND AREA-AMIGA USERS' GROUP (CA-AUG)
ncoast!bill			(216) 292-4404 (BBS)
ncoast!wfhami!bill
20876 Almar Drive 		
Shaker Heights, OH 44122	I get paid for my legal opinions, but
216-295-1624			I'd really rather talk about my Amiga.
******************************************************************************