Hi all, for example the airport LFPG has a parking position with a name with spaces in it. My little launcher script [1] does currently not support this because of a for() loop will break those spaces into seperate lines.
Assume that ${OPTIONS} is the list of command-line parmeters (I know, I
should rename that):
-------------- Snip ------------
# Flushs all options to ~/.fgfsrc
fgfs_flush_options() {
echo "$0: Flushing options to ~/.fgfsrc ..."
echo -n "" > "${HOME}/.fgfsrc"
for entry in ${OPTIONS}; do
echo "${entry}" >> "${HOME}/.fgfsrc"
done
}
-------------- Snap ------------
Can those "spaced names" be fixed e.g. to names with underscores? Or
won't FGFS (latest GIT/master here) find them?
If not, can I somehow support them in my script?
Regards,
Roland
[1]: http://www.flightgear.org/forums/viewtopic.php?f=6&t=6484
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev
_______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

