https://github.com/jferna10/EnvPaper
Tip revision: 033e4b3f79057958cd18c17a5701f8fd4f766ec7 authored by jferna10 on 15 July 2021, 06:14:41 UTC
formatting
formatting
Tip revision: 033e4b3
group_all.sh
#!/bin/bash
ls *aa.tab > tmp.tmp
echo "#/!bin/bash">tmp2.sh
while read -r ONE; do
POS=$(echo "$ONE" | cut -d_ -f2)
#echo $POS
OFFSET=241
OPOS=$((POS - OFFSET))
echo "sed -n \"$OPOS p\" $ONE" >> tmp2.sh
done < tmp.tmp
chmod 755 tmp2.sh
tmp2.sh
rm tmp.tmp
#rm tmp2.sh