๋ฐ˜์‘ํ˜•
1
2
3
4
5
# Read from the file file.txt and output all valid phone numbers to stdout.
#!/bin/sh
 
sed --'/^([0-9]{3}-|\([0-9]{3}\) )[0-9]{3}-[0-9]{4}$/p' file.txt
 
cs

 

728x90
๋ฐ˜์‘ํ˜•

+ Recent posts