Difference between revisions of "Scripting"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk (export-import does not work with "\n") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
= Usecases = | = Usecases = | ||
Delete linebreaks | Delete linebreaks | ||
− | [[cat]] ''file'' | tr '\ | + | [[cat]] ''file'' | tr '\n' '; ' > ''newfile'' |
− | ' '; ' > ''newfile'' | ||
= TroubleShooting = | = TroubleShooting = | ||
Line 13: | Line 12: | ||
set -x | set -x | ||
or -xv for verbose | or -xv for verbose | ||
+ | |||
+ | = See also = | ||
+ | * [[shell programming]] |