25 Jul
2004
25 Jul
'04
12:41
Hello, Am Sonntag, 25. Juli 2004 10:58 schrieb Lars Ellenberg: [ http://www.cboltz.de ]
yes, nice one. one comment for the bash tricks, though:
#!/bin/bash false | true | false | true | false echo "${PIPESTATUS[*]}" 1 0 1 0 1
unlösbar, ja?
And learned something again. man bash is too long to know everything ;-) But my way works for all types of variables, not only exitcodes *g* Gruß Christian Boltz -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This message was infected under the terms of the GNU General Public License.