Commit 7cc6056e authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

encore un petit bug de formattage

parent 7e387000
...@@ -36,7 +36,7 @@ format_report(){ ...@@ -36,7 +36,7 @@ format_report(){
DATE=$3 DATE=$3
DURATION=$4 DURATION=$4
THROUGHPUT=$5 THROUGHPUT=$5
COMMENT=${@:7} COMMENT=${@:6}
printf " %6s | %9s | %9s | %13s | %16s | %6s | %6s | %18s | %s" $Y $N $S $SIZE $DATE $DURATION $THROUGHPUT "${COMMENT}" printf " %6s | %9s | %9s | %13s | %16s | %6s | %6s | %18s | %s" $Y $N $S $SIZE $DATE $DURATION $THROUGHPUT "${COMMENT}"
echo echo
} }
...@@ -183,7 +183,7 @@ IRODS_REPORT=reports/$(date +%Y-%m-%d).csv ...@@ -183,7 +183,7 @@ IRODS_REPORT=reports/$(date +%Y-%m-%d).csv
LOCAL_REPORT=$RESIFDD_WORKDIR/report.csv LOCAL_REPORT=$RESIFDD_WORKDIR/report.csv
format_report "Year_Network_Station" "Size(MB)" "Dumpdate" "Duration(s)" "Throughput(MB/s)" "Comment" > $LOCAL_REPORT format_report "Year_Network_Station" "Size(MB)" "Dumpdate" "Duration(s)" "Throughput(MB/s)" "Comment" > $LOCAL_REPORT
imkdir -p reports imkdir -p reports
iput $LOCAL_REPORT $IRODS_REPORT iput -f $LOCAL_REPORT $IRODS_REPORT
KEY="validated-seismic-metadata" KEY="validated-seismic-metadata"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment