Thread Skript per Konsole gestartet? (5 answers)
Opened by nepos at 2006-09-12 16:17

Dubu
 2006-09-12 21:50
#69747 #69747
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
Vorsicht, schon eine Pipe ist etwas anderes als ein Terminal!
Code: (dl )
1
2
3
4
$ perl -le 'print (-t STDOUT ? "Yes" : "No")'
Yes
$ perl -le 'print (-t STDOUT ? "Yes" : "No")' | cat
No

View full thread Skript per Konsole gestartet?