]> wagnertech.de Git - SVBaL.git/blob - Test/bin/create-test-export
Erste Version
[SVBaL.git] / Test / bin / create-test-export
1 #!/bin/bash
2
3 if [ $# -lt 1 ]; then
4         echo "usage: create-test-export INPUT"
5         exit 1
6 fi
7 head -1 $1 > TestExport.csv
8 grep 14962 $1 >> TestExport.csv
9 grep 19603 $1 >> TestExport.csv
10 grep 76491 $1 >> TestExport.csv
11 grep 76441 $1 >> TestExport.csv
12 grep 75987 $1 >> TestExport.csv
13 grep 75723 $1 >> TestExport.csv
14 grep 14965 $1 >> TestExport.csv
15 grep 14964 $1 >> TestExport.csv
16 grep 76736 $1 >> TestExport.csv
17
18 # remove BOM
19 sed -i $'1s/^\uFEFF//' TestExport.csv