Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
bash [2011/01/26 11:59] admin |
bash [2011/04/17 11:08] admin |
||
---|---|---|---|
Zeile 4: | Zeile 4: | ||
*[[http://www.thelinuxdaily.com/|Diverse Tricks]] | *[[http://www.thelinuxdaily.com/|Diverse Tricks]] | ||
*[[http://tldp.org/LDP/abs/html/abs-guide.html|Advanced Bash-Scripting Guide - An in-depth exploration of the art of shell scripting]] | *[[http://tldp.org/LDP/abs/html/abs-guide.html|Advanced Bash-Scripting Guide - An in-depth exploration of the art of shell scripting]] | ||
+ | *[[http://www.linuxconfig.org/Bash_scripting_Tutorial|Bash scripting Tutorial]] | ||
*[[Bash: String konvertieren]] | *[[Bash: String konvertieren]] | ||
+ | *[[http://trubadix.info/ideefix/index.php?title=Kontrollstrukturen_%28Shell%29&redirect=no|Kontrollstrukturen]] | ||
+ | |||
*[[http://www.wiredrevolution.com/bash-programming/multiple-line-comments-in-bash|Mehrere Zeilen auskommentieren]] | *[[http://www.wiredrevolution.com/bash-programming/multiple-line-comments-in-bash|Mehrere Zeilen auskommentieren]] | ||
+ | <code bash> | ||
+ | <<<COM | ||
+ | #!/bin/bash | ||
+ | bla | ||
+ | bla | ||
+ | bla | ||
+ | COM | ||
+ | </code> | ||
+ | |||
+ | *Spalten in Zeilen umwandeln: | ||
+ | |||
+ | python -c "import sys; print('\n'.join(' '.join(c) for c in zip(*(l.split() for l in sys.stdin.readlines() if l.strip()))))" < file | ||
*[[http://stetix.de/lustige-linux-kommandos-befehle.html|Lustige Linux Kommandos & Befehle]] | *[[http://stetix.de/lustige-linux-kommandos-befehle.html|Lustige Linux Kommandos & Befehle]] |