while read line
1行ずつマッチするか検索 shell
#!/bin/bash while read line do grep -m1 $line /Users/****/Downloads/g***.csv done < ./list.txt
list.xtx
aaaa bbbb cccc
1行ずつマッチするか検索 shell
#!/bin/bash while read line do grep -m1 $line /Users/****/Downloads/g***.csv done < ./list.txt
list.xtx
aaaa bbbb cccc