using "head -n 1" instead "head -1"?



Hi all,
   Not sure this has been mentioned before? NM0.7.1.998 configure script when check intltool with:
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`

It use "head -1". Better using "head -n 1" instead? "head -1" will get error in some environment.
"head: `-1' option is obsolete; use `-n 1'"
and make the configure failed.

So in the m4/intltool.m4.

Thanks!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]