* Jacob Albretsen [Wed, 30 Jun 2004 at 09:46 -0600] > On Wednesday 30 June 2004 12:24 am, Bryan Murdock wrote: > > > For those of you just joinging us, someone with an @aol.com address is > > attempting to participate on a Unix Users Group mailing list and they > > are asking the very stereotypical and expected basic questions. The > > users group is replying in the expected and stereotypical fashion, with > > surprise, disdain, and downright mockery. > > This only happens to n00bs? I was mocked at the install fest by a user when I > was trying to troubleshoot someone's network configuration when I typed > "more /etc/resolv.conf" Evidently using "more" is of the devil and I should > be using "cat" or "less". > > If someone can really give me a GOOD reason for this, I'd love to hear it. Is > "more" somehow insecure? Is coding with "more" somehow better than coding > with PHP or Perl? Is "more" full of bloat? Can I play tetris with "more"? > I'm at a loss here.
There is nothing wrong with more. I use it occasionally. This is how it breaks down for me. If I'm zipping through a file that may be too long for the term, but I don't want to concern myself with the 'q' key at the end. I use more. Example: ls /dir/with/lots/of/files/ | more If I want the option of going back in the file/output, searchability, or just plain eye friendlyness (when 'reading' things I like to have my current paragraph somewhat centered) I use less. Example: less README; diff foo bar | less If there's any chance I will want to edit, or if I'm just in that 'mode', VIm is my file viewer of choice. If it's any kind of config, chances are I'll use vim. If it's just a sneak peak at a small file: cat I avoid gui's like the plague, with the exception of gvim, but then I use that with menu, toolbar, scrollbars and everything else turned off. If lynx or links behaved more in a less like manner and supported shtml and others, I'd use it a lot more, but still, there are times you want all the graphics and animations and ooh's and ah's... Now, I don't intend this to be a 'this is how it's done.' I just thought it might be interesting for some to see a fellow user's file viewing habits, and I had to defend more (: -- Von Fugal
pgpHQlkXfUP90.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
