Re: Shell Question..

2003-07-21 Thread Jeff Schaller
On Mon, 21 Jul 2003, Rus Foster wrote: No strictly on topic but can anyone think of a better way to print out line x of a file in Shell Script. Best I have so far is (in pseudo code) cat /tmp/file | head -$x | tail -$x+1 Anything better or a perl one liner? Boy, reminds me of the old

Re: Portable MP3/Ogg player supported by Debian?

2003-07-19 Thread Jeff Schaller
On Sat, 19 Jul 2003, Carl Fink wrote: I'm thinking about getting a portable MP3 player so I can listen to recorded/downloaded content in my car. I have never used one, and I'd love to get some advice on an inexpensive one (I don't care about audio quality) that is supported by a Debian

Re: bash: for to, reading escaped spaces in filenames

2003-07-13 Thread Jeff Schaller
David selby [EMAIL PROTECTED] wrote: I need to scan a directory for the file names contained in it. However some of the file names are in the form of 342345\ remind\ for\ apt-get\ update ie they have escaped spaces in the name. Without resorting to complex string manipulation cutting,

compaq hardware monitoring?

2003-07-11 Thread Jeff Schaller
I'd like to find out what people are using (if anything) to monitor their Compaq server hardware (temperature, fan speed, etc). I've found and tried lm-sensors, but it does not detect anything. I've found and tried cpqhealth, but it appears as though they are RPMs that provide pre-compiled