shell scripting

shell scripting

shell scripting

1 was ist das?
awk ‘BEGIN {FS=OFS=” “}
{
for (i=1;i<=NF;i++) { arr[NR,i]=$i; if(big <= NF) big=NF; } } END { for(i=1;i<=big;i++) { for(j=1;j<=NR;j++) { printf("%s%s",arr[j,i], (j==NR ? "" : OFS)); } print ""; } }' my_data.out > my_data_new.out

links
simple awk tutorial
sed: Substitution!
Sed – An Introduction and Tutorial by Bruce Barnett
How to change the decimal separator with awk/sed?