Two reasons for this post...

1.  Propose the use of "TIP: ..." in Subject when one discovers something new
which might be of interest to the general population.

2.  Post a tip about "less"...

After many years of using "less" (circa '90 IIRC), I still had not discovered
this feature...  

less supports preprocessing, so instead of trying to figure out or remember
commands like "prm -qpil" to see what files are provided in a *.rpm file, just
try:

  less <file>.rpm 

which will dump the package info and list of files only; not all the binary
stuff as I'd expected...

To see what else less preprocesses, here's a hint:

   LESSOPEN=|/usr/bin/lesspipe.sh %s

HTH someone,
Pierre

Reply via email to