-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-04-03 at 14:13 +0200, Per Jessen wrote:
Carlos E. R. wrote:
Hmm, how about this:
find / -type f | xargs file | awk '/Bourne-Again/{print $1}' | \ tr -d ':' | xargs -r grep <a recognizable string>
Interesting. Let's try: cer@Telcontar:~> find bin/* -type f | xargs file | awk '/Bourne-Again/{print $1}' tr -d ':' | xargs -r grep "fdisk" awk: fatal: cannot open file `tr' for reading (No such file or directory) cer@Telcontar:~> which tr /usr/bin/tr cer@Telcontar:~> find bin/* -type f | xargs file | awk '/Bourne-Again/{print $1}' /usr/bin/tr -d ':' | xargs -r grep "fdisk" awk: cmd. line:1: fatal: cannot open file `-d' for reading (No such file or directory) cer@Telcontar:~> I'm not familiar with awk, so I don't know what is wrong above :-? - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlFcIvEACgkQtTMYHG2NR9VHYQCfYkQ8ijye0VKMwVnanNt0HEZE TTgAoIAKEeBy0T7zqxYoWvXAvyal4z9M =yex5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org