-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At some point hitherto, Michael Bovee hath spake thusly: > Hi folks, > On a related note, sort of, I discovered that under SuSE 7.1 for PPC, > that if I type ll <el, el> > the output looks the same as if I had typed ls -l, but there is no > man page for 'el el'? > Is this common for different groups to add their own shorthands, and > then not include them in the manpages?
Well, it's not so uncommon... it's probably an alias. I think you can thank the good (lazy) folks at HP for this. Apparently some of their OS guys got sick of typing ls -l and decided to create a shortcut for it. HP admins everywhere got accustomed to this, and started adding it to their other environments via shell alias. To see if it's an alias, use the alias command with no arguments. You'll probably see something like: $ alias ll='ls -l' Probably with a bunch of other stuff... In the case of HP-UX though, I believe the ll command (IIRC) is actually a link to the ls command. The code then checks to see what argv[0] was and behaves differently depending on what it was. Another example of where this is commonly done is with vi/view. If you look at /bin/view on your system, odds are good it will be a symlink to vi (or one of its cousins, like vim, etc). Same executable, different behavior. - -- Derek Martin [EMAIL PROTECTED] - --------------------------------------------- I prefer mail encrypted with PGP/GPG! GnuPG Key ID: 0x81CFE75D Retrieve my public key at http://pgp.mit.edu Learn more about it at http://www.gnupg.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE79CvzdjdlQoHP510RAlRHAJ47311AirBENtPl/bD/8vxGO/TGogCghasN ZstWBIk7RyQ4or+O77y1HW4= =Gxj/ -----END PGP SIGNATURE----- ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
