hi,

 

I've created a simple shell script to count members in my 3 lists :

 

******

./list_members list1 | wc -l
./list_members list2 | wc -l
./list_members list3 | wc -l

******

and I keep getting this error:

 

*****

wc: invalid option -- 
Try `wc --help' for more information.
Traceback (most recent call last):
  File "./list_members", line 286, in ?
    main()
  File "./list_members", line 264, in main
    print >> fp, formataddr((safe(name), addr))
IOError: [Errno 32] Broken pipe
****

 

when copying and pasting the 3 lines in my SSH window they work fine .. but 
when running the script I get these errors!

 

it was working before but recently I formatted the drive and reinstalled the 
system: Centos5 ..

 

please help

 

 

 

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to