the sintaxe "end:= result;" is very ugly!
=======================

No for everyone. It can even be expanded to pipes etc. Remember the
BASH syntax :
-----------------------
cat /tmp/fc-list.txt | egrep -v "^[ \t]*$" | awk \
  -v OPT1=$SHORTPATHS \
  -v OPT2=$AUTOSHORTGS \
  -v OPT3=$PSF_ONLYALIASES \
  -v OPT4=$TTF_ONLYALIASES 'BEGIN {
  sans_n=0;
[.........]
  for (i=1; i <= mono_styles_n; i++) {
    MONO_TYPE=""
    if ((( OPT3 != 1 ) && ((MONO_TYPES[i] == "PSF-") || (MONO_TYPES[i]
== "GSF-"))) || (( OPT4 != 1 ) && (MONO_TYPES[i] == "TTF-"))) {
      MONO_TYPE=MONO_TYPES[i];
    }
    MONO_STYLE=MONO_STYLES[i];
    if ( MONO_STYLE != "" ) {
      gsub("-","",MONO_STYLE);
      MONO_STYLE="-"MONO_STYLE;
    }
    gsub(" ","-",MONO[MONO1]);
    print "/Mono"MONO_STYLE"\t/"MONO_TYPE""MONO[MONO1]""MONO_STYLES[i]"\t;"
>> "/tmp/Fontmap.GS-1";
    print "/Fixed"MONO_STYLE"\t/"MONO_TYPE""MONO[MONO1]""MONO_STYLES[i]"\t;"
>> "/tmp/Fontmap.GS-1";
    print "/Courier"MONO_STYLE"\t/"MONO_TYPE""MONO[MONO1]""MONO_STYLES[i]"\t;"
>> "/tmp/Fontmap.GS-1";
  }

}' | sort -u > ./Fontmap.GS.xft
----------------------
 :)))

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to