Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gitpyr.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!gitpyr!robert From: robert@gitpyr.UUCP (Robert Viduya) Newsgroups: net.unix-wizards Subject: Re: The Visible Cat Message-ID: <196@gitpyr.UUCP> Date: Mon, 4-Mar-85 01:01:19 EST Article-I.D.: gitpyr.196 Posted: Mon Mar 4 01:01:19 1985 Date-Received: Thu, 7-Mar-85 03:55:38 EST References: <8794@brl-tgr.ARPA> Organization: Georgia Tech, Atlanta Lines: 36 >< Posted from cottrell@nbs-vms.ARPA > My SYS V (Motorola port, V.0) has no cat -v. It has no pg either. TPC > dragged their feet on any kind of screen editor and still does not > have csh or the multicolumn ls that DMR railed against. It was > instructive to read his thoughts on multicolumn filters and in fact I > wrote /bin/lm that contains the line `ls $* | pr -at5'. While I can > see that features for features sake is cancerous, lack of funxionality > is annoying, user hostile, and just plain boring. Joe Random Hacker > (he's back, folx!) wants to see his files in a pretty-printed format, > he doesn't care that the ouput can be piped to grep or sed in a > one-file-per line format. Tools should serve their masters. Actually, System V R2 pulled a bit of "one-up-manship" on Berkeley. The SysVr2 ls has two extra options ('-C' and '-x') which columnate filenames in either row-major or column-major format. However, they still didn't bother to check if standard output was a terminal, requiring you to specify the option explicitly. I kinda got away with it by using: ls() { if [ -t ] /bin/ls -C $* else /bin/ls $* fi } robert -- Robert Viduya Georgia Institute of Technology ...!{akgua,allegra,amd,hplabs,ihnp4,masscomp,ut-ngp}!gatech!gitpyr!robert ...!{rlgvax,sb1,uf-cgrl,unmvax,ut-sally}!gatech!gitpyr!robert