Bryan Kadzban wrote:
> Ken Moffat wrote:
>> But, I'm half expecting that anything using tempfile will fall back
>> to even-less-safe predefined file names if tempfile is either not
>> present or if it returns an error.
>
> Yeah, it wouldn't surprise me either. But I've done a bit of checking
> into scripts:
>
> find {,/usr}/{,s}bin -type f -exec sh -c "file {} | grep text | grep \
> -viq perl && grep tempfile {} /dev/null" \;
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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page