mktemp, tempfile & coreutils

Alan Lord alanslists at gmail.com
Thu Oct 18 01:22:11 PDT 2007


Bruce Dubbs wrote:
  > I ran a modified version on quantum:
> 
> find {,/usr}/{,s}bin -type f -exec sh -c "file {} | grep text | \
> grep -viq perl && grep tempfile {} /dev/null | cut -d: -f1 | uniq " \;
> 
> and got:
> 
> /sbin/generate-modprobe.conf
> /usr/bin/updatedb
> /usr/bin/tempfile
> /usr/bin/vimtutor
> /usr/bin/mysqlaccess
> /usr/bin/sa-learn
> /usr/bin/spamassassin
> /usr/sbin/grub-install
> 
> Actually /usr/bin/spamassassin and /usr/bin/sa-learn are perl scripts,
> but file thinks they are awk scripts.
> 
> So that matches what you have.
> 
>   -- Bruce

LFS-6.3, Some recent BLFS packages and some non-blfs: mainly asterisk.

root [ ~ ]# find {,/usr}/{,s}bin -type f -exec sh -c "file {} | grep 
text | \
 > grep -viq perl && grep tempfile {} /dev/null | cut -d: -f1 | uniq " \;
/sbin/generate-modprobe.conf
/usr/bin/updatedb
/usr/bin/tempfile
/usr/bin/vimtutor
/usr/sbin/grub-install
root [ ~ ]#

Alan

-- 
The way out is open!
http://www.theopensourcerer.com




More information about the lfs-dev mailing list