From 901ce79509d8b1388532cc6be04c02f0ad40fdf8 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 2 Jan 2020 19:17:13 +0100 Subject: [PATCH] use variable 'oscompiled' to specialize for various OSs --- examples/utf-8/стекло/있어요/ext-utf8-3.cir | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/examples/utf-8/стекло/있어요/ext-utf8-3.cir b/examples/utf-8/стекло/있어요/ext-utf8-3.cir index 8def1032a..ec84e4730 100644 --- a/examples/utf-8/стекло/있어요/ext-utf8-3.cir +++ b/examples/utf-8/стекло/있어요/ext-utf8-3.cir @@ -35,9 +35,19 @@ plot y vs x xlabel '래도 아프지 않아요' ylabel '私はガラス * With Linux the next one requires: export LC_CTYPE ="de_DE.UTF-8" **gnuplot test2.gn y vs x xlabel 'Labellisé X' ylabel 'tüTÄtö Äü @µ€~' title 'ฉันกินกระจกได้ แต่มันไม่ทำให้ฉันเจ็บ ' -**hardcopy plot_5.ps y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré Äü @µ€~' -*shell Start /B plot_5.ps -**shell gv plot_5.ps & +hardcopy plot_5.ps y vs x xlabel 'Labellisé X' ylabel 'Labellisé Y' title 'Titré Äü @µ€~' +if ($oscompiled = 1) or ($oscompiled = 8) + shell Start /B plot_5.ps +endif +if ($oscompiled = 2) + shell xterm -e gs plot_5.ps & +endif +if ($oscompiled = 6) + shell gv plot_5.ps & +endif +if ($oscompiled = 7) + shell open -a Preview plot_5.ps & +endif wrdata test.out y vs x **asciiplot atest.out y vs x