home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / wizards / 3322 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  992 b 

  1. Path: sparky!uunet!mcsun!uknet!ieunet!nixeid!bsullivn
  2. From: bsullivn@nixeidsc.sni.ie (Bryan O'Sullivan)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: A Shell Problem -- HELP HELP HELP!!!
  5. Message-ID: <132@nixeidsc.sni.ie>
  6. Date: 27 Jul 92 09:56:41 GMT
  7. References: <15250001@hprpcd.rose.hp.com>
  8. Reply-To: bryan@sc.sni.ie
  9. Organization: Siemens-Nixdorf Software Development Centre, Dublin
  10. Lines: 18
  11. X-Newsreader: Tin 1.1 PL3
  12.  
  13.  
  14.  
  15. :Try:
  16. :
  17. :    find logos/org -name "face.xbm" | while read f; do
  18. :        newf=`echo $f | sed "s/\//./g"`
  19. :        mv $f $newf
  20. :    done
  21.  
  22. This will break on (at the very least) System V machines.  Use 
  23.     find logos/org -name face.xbm -print . . .
  24. instead.
  25.  
  26.     -- Bryan
  27.  
  28. -- 
  29. Bryan O'Sullivan                                             +353-1-767551 x225
  30. Siemens-Nixdorf Informationssysteme AG                          bryan@sc.sni.ie
  31. Software Development Centre                    "Theory like mist on eyeglasses.
  32. Dublin                                          Obscure facts." -- Charlie Chan
  33.