From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: 111308,32c594a83e2d8db X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1993-09-23 15:29:09 PST Xref: gmd.de comp.client-server:1325 comp.os.vms:31206 comp.sys.dec:10312 comp.sys.hp:24966 Newsgroups: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!yeshua.marcam.com!news.kei.com!ub!acsu.buffalo.edu!kalisiak From: kalisiak@cs.buffalo.edu (Chris Kalisiak) Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Message-ID: Followup-To: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Sender: nntp@acsu.buffalo.edu Nntp-Posting-Host: armstrong.cs.buffalo.edu Organization: UB X-Newsreader: TIN [version 1.1 PL8] References: <1993Sep23.161016.12926@vms.eurokom.ie> Date: Thu, 23 Sep 1993 21:14:33 GMT Tom Wade VMS Systems (T.Wade@vms.eurokom.ie) wrote: >In article , hansg@risken.vd.volvo.se (Hans Granqvist) writes: [...] > % ps -ef | awk '{ print $1 }' | grep root | wc -l >Yes, a command file would have been written in half the time it takes to >debug one of these 'short cuts', but hey, the overriding goal is to get it ALL >IN ONE LINE isn't it ? This is the exact thing I really hate about Unix. It seems as though Unix was designed to be as terse and cryptic as possible. So much so that you can't even figure out what the hell is going on! By the time you figure out all the switches, understand in detail what flavor of Unix you are running, refigure all the switches again to compensate for the fact that every implementation of Unix is different, write a one line piece of shell script, bang on it by multiple "Unix gurus" for a couple hours, you finally have a working product! >(Incidentally, be sure you use the lowercase "-ef" as the uppercase probably > does something entirely different like initialize your file system). >(Incidentally again, this works on System-V, on BSD the "-ef" may need to be > changed to something slightly different but equally obvious like "-ax", >so you > have to test for which version to be complete). >(Incidentally last, I confess that the incantation was supplied by our local > Unix guru, as I wouldn't know awk from a bird call). >Fax: +353-1-2838605| Unix .... Just say No ! ^^^^^^^^^^^^^^^^^^^^^^^^^ Amen! Chris -- Chris Kalisiak | "Pound for pound, lame puns are your best kalisiak@cs.buffalo.edu | entertainment value." -- Gogo Dodo, Tiny Toons V076N3W7@ubvms.cc.buffalo.edu| "Stimpy, your wealth of ignorance astounds me." V076N3W7@ubvms.bitnet | -- Ren Hoek, Ren and Stimpy