3 lines
100 B
Bash
3 lines
100 B
Bash
|
#!/bin/bash
|
||
|
grep -E "^([[:digit:]]{3}-|\([[:digit:]]{3}\) )[[:digit:]]{3}-[[:digit:]]{4}$" file.txt
|