Re: [SLUG] Script help

2005-09-22 Thread Vino Fernando Crescini
yep, and if I cat the file they are displayed that way I know it's a longshot, but can you confirm that there are no ^M (CR) characters in the end of each line in allusers.txt? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vino Fernando Crescini

Re: [SLUG] FW: Script help

2005-09-22 Thread Vino Fernando Crescini
while read name; do grep $name smbpasswd newlist; done allusers.txt The redirection will overwrite the file if it exists. Use to append to the file. -- Vino Fernando Crescini Intelligent Systems Laboratory School of Computing IT phone: +61 2 4736

Re: [SLUG] FW: Script help

2005-09-22 Thread Vino Fernando Crescini
while read name; do grep $name smbpasswd newlist; done allusers.txt If you want a list of all invalid usernames in smbpasswd that is not in allusers.txt, this way might be easier: cut -d: -f1 smbpasswd | while read name; do grep -q ${name}\$ /tmp/list || echo $name done -- Vino Fernando

Re: [SLUG] FW: Script help

2005-09-22 Thread Vino Fernando Crescini
to smbpasswd -x -- Vino Fernando Crescini Intelligent Systems Laboratory School of Computing IT phone: +61 2 4736 0140 University of Western Sydney email: [EMAIL PROTECTED] Locked Bag 1797 web: www.cit.uws.edu.au/~jcrescin Penrith South

Re: [SLUG] Script help

2005-09-21 Thread Vino Fernando Crescini
#!/bin/bash while read name; do grep $name smbpasswd; done allusers.txt are the names in allusers.txt listed one per line? -- Vino Fernando Crescini Intelligent Systems Laboratory School of Computing IT phone: +61 2 4736 0140

Re: [SLUG] BASH oddity

2005-09-19 Thread Vino Fernando Crescini
can get date dump UTC: OUR_UTC_MINS=$(date -u +%M) -- Vino Fernando Crescini Intelligent Systems Laboratory School of Computing IT phone: +61 2 4736 0140 University of Western Sydney email: [EMAIL PROTECTED] Locked Bag 1797 web

Re: [SLUG] Code Management Database

2005-09-09 Thread Vino Fernando Crescini
of branching and merging. -- Vino Fernando Crescini Intelligent Systems Laboratory School of Computing IT phone: +61 2 4736 0140 University of Western Sydney email: [EMAIL PROTECTED] Locked Bag 1797 web: www.cit.uws.edu.au/~jcrescin

Re: [SLUG] Kernel Panic - missing file system from kernel?

2005-06-14 Thread Vino Fernando Crescini
without clean water -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html Scanned by SCIT E-Mail Gateway http://www.cit.uws.edu.au -- Vino Fernando Crescini [EMAIL PROTECTED] http://www.cit.uws.edu.au

Re: [SLUG] Script Help

2005-05-10 Thread Vino Fernando Crescini
Simon wrote: Hi all, Why is the following script ripping out every directory rather than just those in 'studentfile' #!/bin/bash while read name; do cd $name rm -fvr * cd .. rmdir $name done studentlist while read name; do rm -fvr $name done studentlist -- Vino Fernando Crescini

Re: [SLUG] how to wireless

2005-01-06 Thread Vino Fernando Crescini
is already compiled in as a module. if this is so, you can try to load the driver with: # modprobe prism54 from there you can use the wireless tools (iwconfig, etc.) or whatever gui equivalent fedora provides to configure the wireless device. -- Vino Fernando Crescini [EMAIL PROTECTED] http

Re: Re: [SLUG] CHeck script

2005-01-06 Thread Vino Fernando Crescini
line; do mv $line done -- Vino Fernando Crescini [EMAIL PROTECTED] http://www.cit.uws.edu.au/~jcrescin Scanned by SCIT E-Mail Gateway http://www.cit.uws.edu.au -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq

Re: [SLUG] new laptop: bios cant see dvd/cd - so cant boot, so cant install linux.

2004-11-14 Thread Vino Fernando Crescini
Of course, another way is to try booting off a floppy or a USB drive. -- Vino Fernando Crescini Intelligent Systems Laboratory School of Computing IT phone: +61 2 4736 0140 University of Western Sydney email: [EMAIL PROTECTED] Locked

[SLUG] ide-scsi on vanilla 2.6.9

2004-11-06 Thread Vino Fernando Crescini
Is there anybody using ide-scsi on a plain 2.6.9 kernel? eject -t (on /dev/sr0) doesn't seem to be working anymore. Vino Fernando Crescini Intelligent Systems Laboratory School of Computing IT University of Western Sydney Email

Re: [SLUG] ide-scsi on vanilla 2.6.9

2004-11-06 Thread Vino Fernando Crescini
, the latter seems to be working fine so far, even with cdrecord-prodvd. -- Vino Fernando Crescini [EMAIL PROTECTED] http://www.cit.uws.edu.au/~jcrescin Scanned by SCIT E-Mail Gateway http://www.cit.uws.edu.au -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info