
November 21st, 2009, 06:43 AM
|
|
Contributing User
|
|
Join Date: Jul 2004
Location: Middle Europa
Posts: 1,200
  
Time spent in forums: 1 Week 1 Day 11 h 47 m 52 sec
Reputation Power: 12
|
|
|
ShortName "Blue Jeans"
is not a really good way....
grep -c "ShortName .Blue Jeans"
give you the NUMBER of files containing this string
if less 2, exit
grep -l "ShortName .Blue Jeans"
give a LIST of files containing this string
skip the first and kill the rest
regards
__________________
working on Solaris[5-9], preferred languages french and C.
|