Xref: utzoo comp.sys.amiga:44400 comp.lang.rexx:109 Path: utzoo!attcan!uunet!cs.utexas.edu!mailrus!cwjcc!hal!ncoast!wfhami!bill From: bill@wfhami.UUCP (Bill Hogsett) Newsgroups: comp.sys.amiga,comp.lang.rexx Subject: AREXX--Need Help Message-ID: <0365.AA0365@wfhami> Date: 24 Nov 89 15:56:10 GMT Followup-To: comp.sys.amiga comp.lang.rexx Lines: 43 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. ******************************************************************************