"S. Sevki Dincer" writes:
> i want to start building a project with ./configure --prefix=... $(myflags)
> where myflags is an executable text file on my path. myflags has the
> following in it:
> printf 'CFLAGS="-O2 -fomit-frame-pointer" '
> printf 'LDFLAGS="-Wl,-O2"'
> now, when i do that ./conf
What happened to 2,3? Poof, gone.
$ s=a; echo $s{ $s{} $s} $s{1} $s{2,3} ${s}{4,5}
a{ a{} a} a{1} a4 a5
jida...@jidanni.org schrieb:
What happened to 2,3? Poof, gone.
$ s=a; echo $s{ $s{} $s} $s{1} $s{2,3} ${s}{4,5}
a{ a{} a} a{1} a4 a5
As the manual says, brace expansion is performed before any other
expansions. So $s{2,3} expands to $s2 $s3, and that expands to nothing
if neither s2 nor s3 ar
On Sat, Dec 13, 2008 at 09:30:27AM +0100, Andreas Schwab wrote:
> "S. Sevki Dincer" writes:
>
> > i want to start building a project with ./configure --prefix=... $(myflags)
> > where myflags is an executable text file on my path. myflags has the
> > following in it:
> > printf 'CFLAGS="-O2 -fomi