Hallo,
ich habe ein Shell-Skript, dass wie folgt anfängt:
1 2 3 4 5 6 7 8 9 10 11 12 13 | input_filename=$1 output_filename=$2 first_temp_filename=temp_1.gff second_temp_filename=temp_2.gff third_temp_filename=temp_3.gff four_temp_filename=temp_4.gff # remove comments cat $input_filename | perl -ne 'if (m/\tAUGUSTUS\t/) { print $_; }' > $first_temp_filename # adapt columns 'type' and 'attribute' augustus2gbrowse.pl < $first_temp_filename > $second_temp_filename gbrowseold2gff3.pl < $second_temp_filename > $third_temp_filename |
Die Verwendung der temporären Dateien erscheint mir unelegant und unsicher. Daher die Frage: Wie kann man das besser lösen?