news.daily and dropped innfeed files
Julien ÉLIE
julien at trigofacile.com
Wed Apr 29 21:07:17 UTC 2009
Hi Russ,
>> LOCKS=`cat *.lock | ${SORT} -u`
>
> Portability paranoia says that you should use '| sort | uniq' here,
> since sort -u is a GNUism.
OK, I will fix it, as well as:
% grep -ri "sort" * | grep -- '-u'
control/docheckgroups.in: | ${SORT} -u \
innfeed/procbatch.in: $cmd = "cat $tmpTape | $INN::Config::sort -u >> $tapeFile && rm -f $tmpTape" ;
scripts/news.daily.in: ${SORT} -u -o ${RMFILE} ${RMFILE}
scripts/innstat.in: ${PATHDB} ${MOST_LOGS} | sort -u
Hmmm... I will not be able to change these two (taken from libtool):
m4/libtool.m4: _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 ==
"D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
support/ltmain.sh: if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then
support/ltmain.sh: darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" |
sort -u`
support/ltmain.sh: done | sort | sort -uc >/dev/null 2>&1); then
>> for file in $(find -name "innfeed-dropped*")
>
> I've tended to use backticks instead of $(), but I don't know if there's
> really any problem with $() on any shell that we care about.
All right.
Thanks for your valuable information.
--
Julien ÉLIE
« Chaque chêne est envahi par quantité de druides qui
cueillent le gui en travaillant dur de la serpe... » (Astérix)
More information about the inn-workers
mailing list