From 8dd39dc3a74012174a4869c969cc90ba9cf6ca4e Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 30 Aug 2018 15:55:03 +0200 Subject: Add a bit info about Desy camera and a pair of debugging scripts --- scripts/extract.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/extract.sh (limited to 'scripts/extract.sh') diff --git a/scripts/extract.sh b/scripts/extract.sh new file mode 100755 index 0000000..3e5be57 --- /dev/null +++ b/scripts/extract.sh @@ -0,0 +1,12 @@ +#! /bin/bash + +[ -n "$1" ] || exit +frame=$1 + +list=$(./list.sh $1 | sort -n -k 3) +echo -n > "frame$frame.raw" +IFS=$'\n' +for name in $list; do +# echo "$name" + cat "$name" >> "frame$frame.raw" +done -- cgit v1.2.3