Re: glib-mkenums in glib 2

On Wed, 26 Dec 2012 12:12:08 -0800, John Ralls wrote:

> perl -e 'print(join("\n", @ARGV));' foo bar

This won't work on Windows - the quoting rules are more complicated.

Either of the following should work:

perl -e "print(join("""\n""", @ARGV));" foo bar
perl -e "print(join(qq(\n), @ARGV));" foo bar

Note that it's impossible to pass quotes reliably through any kind of batch
file (and in general it's best to avoid trying to pass quotes whenever

< Jernej Simončič ><><><><>< >

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