#!/bin/sh
cd ./076/
for id in 01016 01017 01015 01014 01010 01007 01012 01005 01009
do
echo "$id"
find ./ -name '*.txt' -type f |xargs awk '$2~/'$id'/ {print $1"t"$2"t"$4"t"$5}' >>../aaaaa
done[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8806316/viewspace-1031456/
,如需转载,请注明出处,否则将追究法律责任。