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
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
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
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
#!/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
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
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
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
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
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
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
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
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
, 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
14 matches
Mail list logo