7 lines
108 B
Bash
Executable File
7 lines
108 B
Bash
Executable File
#!/bin/sh
|
|
input=$1
|
|
while read -r str
|
|
do
|
|
[[ $(grep -c "$str" "$input") == 1 ]] && echo $str
|
|
done < "$input"
|