Re: [OT] Complaint
On Mit, 26 Feb 2003 at 15:32 (-0600), Joseph A Nagy Jr wrote: > Over the past few weeks, I've been recieving several pieces of mail > directly to my inbox because users are Bcc'ing (for what ever reason) > the debian-user list. I would like to ask those people to please NOT bcc > the list. If you must include the list, please place it in your CC or TO > field when sending the email. Because the Debian-User list doesn't have > a subject-line additive I can filter on, I rely soley on the to and cc > fields for my filtering. There is a header line like: X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/265487 in every mail header. You should use this instead of the To: line to filter the list mails. Jan P.S.: I agree with you. List replys should _only_ go to the list (with the list address in the To: field). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: kill with regex?
On Son, 19 Jan 2003 at 15:40 (+), Hugh Saunders wrote: > ps x gives a list of xine's which i would like to kill > > 1609 ?S 0:01 xine /dev/hdc > 1610 ?S 0:00 xine /dev/hdc > 1618 ?S 0:00 xine /dev/hdc > 1619 ?S 0:00 xine /dev/hdc > 1620 ?S 0:00 xine /dev/hdc > > tried > kill 16[1234567890]* The shell tries to expand this expression - it works only for filenames. You must use commands that understand regex instead (grep, sed, awk ...) > which returned > bash: kill: 16[1234567890]*: no such pid > > 1) is the regexp correct to match the pids of the processes? > 2) how do i get kill or bash to realise its an expression? kill `pidof xine` Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: very slow Linux clock
On Son, 16 Feb 2003 at 15:05 (+0200), Jerome BENOIT wrote: > I have big trouble with my Linux Clock: > it is very slow, so [1] the time becomes quickly wrong > and [2] updates with NTP stuff (or others) seems ridiculous. > > How can we fix it ? I'm not sure, but try to delete /etc/adjtime, set up the system time (man date), update rtc (man hwclock) and look, what's going on. Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: default run level
On Don, 03 Apr 2003 at 14:39 (-0600), Irish, Jon D BAE SYSTEMS wrote: > Here is a newbie question: Which default run level do I change inittab to so that > the PC boots to a VGA console instead of X? 2 Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: awk usage question
On Don, 29 Mai 2003 at 20:19 (-0400), Kevin Coyner wrote: > > I'm trying to filter a file from tcpdump (actually tethereal) using awk, > but am stuck in one spot. > > In words, what I'd like to do is: > > 1. only read lines with the word "Message" in it > 2. in lines with "Message", output everything to the right of the > word "Message". This could be one word or twenty words. > > Note that the word "Message", when it occurs in a line, always is in > record number 7. tethereal -r fileToRead | \ nawk ' $7 ~ /Message/ \ { printf "%s ", substr ($7, index ("Message") + 7); for (i = 8; i <= NF; i++) printf "%s ", $i; print ""; } ' Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mounting USB devices
On Son, 12 Jan 2003 at 14:34 (+0100), ernst wrote: > > On Sat, 11 Jan 2003, Trey Sizemore wrote: > > > One more dumb question...how do I know my user ID? > > cat /etc/group |grep your_username Useless use of cat award ;-) grep your_username /etc/group But so you will not get the _user_ id. Try /etc/passwd instead. or: getent passwd your_username or: id Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sed or Awk Question
On Die, 14 Jan 2003 at 13:42 (-0500), Jody Grafals wrote: > > Dose anyone know how to replace a line break with a space using sed or > awk? > > for example > > cat > dog > goat > duck > > would become > > cat dog goat duck You don't need to use sed or awk: jan@k500:~/tmp> x=`cat animals` jan@k500:~/tmp> echo $x cat dog goat duck or: jan@k500:~/tmp> cat animals | tr '\n' ' ' cat dog goat duck jan@k500:~/tmp> Jan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]