home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.rexx
- Path: sparky!uunet!wrkgrp!ets
- From: ets@wrkgrp.COM (Edward T Spire)
- Subject: Re: Blanks, REXX, and portability...
- Message-ID: <1992Aug28.172815.15645@wrkgrp.COM>
- Organization: The Workstation Group
- References: <19920827090341SEB1525@MVS.draper.com>
- Date: Fri, 28 Aug 92 17:28:15 GMT
- Lines: 21
-
- SEB1525@MVS.draper.com (Steve Bacher) writes:
- : In article <ANDERS.92Aug26105620@lise3.lise.unit.no>,
- : anders@lise3.lise.unit.no (Anders Christensen) writes:
- :
- : [comments on parsing the output of the "who" command]
- :
- : As long as we're talking Unix, you can do
- :
- : "who | expand"
- :
- : as a portable (from one Unix to another, anyhow) workaround.
-
- Parsing of Unix command output will never be portable from one machine
- to another. I tried Ander's 'who' parser on AIX 3.2, and it didn't
- work. Not because of the tab issue (uni-REXX **does** use isspace()
- to determine what AIX classifies as whitespace), but because the AIX
- 'who' command output just plain doesn't look like the one Anders is
- using! This crops up all the time on the system administration type
- commands you want to use to manage disks, users, tasks, etc.
-
- -Ed
-