----- Mail original -----
> De: "Daiki Ueno" <[email protected]>
> À: "Pavel Raiskup" <[email protected]>
> Cc: [email protected]
> Envoyé: Mercredi 27 Février 2013 09:40:30
> Objet: Re: [bug-gettext] AC_CONFIG_MACRO_DIR{,S} & ACLOCAL_AMFLAGS
> 
...

>  
> +# Check in which directory gettext.m4 etc. belong.
> +macrodirs=`cat "$configure_in" | grep '^AC_CONFIG_MACRO_DIR' | sed
> -n -e 's/AC_CONFIG_MACRO_DIRS\{,1\}(\([^()]*\))/\1/p' | sed -e
> 's/^\[\(.*\)\]$/\1/'`

cat file | grep foo could be written simplier using
grep foo file


Gilles

Reply via email to