Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Colors and locale warning

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Vladimír Marek <vlmarek AT volny.cz>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Colors and locale warning
  • Date: Mon, 17 May 2004 15:56:18 +0200

[...]
> > for MODULE in `ls $SGL_LIBRARY_MODULES/lib*[^~]`; do
>
> That's very bad anyway, using for SOMETHING in `ls ...` can break in so
> many ways ...
> Why not just
> for MODULE in "$SGL_LIBRARY_MODULES"/lib*[^~]; do
>
> That will even work if SGL_LIBRARY_MODULES contains spaces or other
> crap.

Yes, I admit :)

--
Neuron

Attachment: pgptfKkbzX3xN.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page