Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!ucla-cs!zen!ucbvax!UTORPHYS.BITNET!SYSRUTH From: SYSRUTH@UTORPHYS.BITNET Newsgroups: comp.os.vms Subject: RE: UTILITY TO TRUNCATE TRAILING BLACKS... REVISITED... Message-ID: <8707242104.AA26481@ucbvax.Berkeley.EDU> Date: Fri, 24-Jul-87 13:41:00 EDT Article-I.D.: ucbvax.8707242104.AA26481 Posted: Fri Jul 24 13:41:00 1987 Date-Received: Sat, 25-Jul-87 15:33:46 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 13 There is a DEC utility on our VAX 11/780 called TRUNCATE. I am not sure whether it requires RSX emulation or not; we always run it via MCR TRUNCATE but then I do that a lot with programs in sys$system (e.g. SYSGEN, NCP). It does exactly what you want - trims off blank space *at the end* of each line. It is the utility we use (infrequently) to read cards into a file. It prompts for input and output file names. I just checked and it is not on our uVAXes, so it may be a part of RSX emulation (a layered product, natch). Ruth Milner Systems Manager SYSRUTH@UTORPHYS (BITNET)