Link to home
Start Free TrialLog in
Avatar of trazodone
trazodoneFlag for Thailand

asked on

Shell script remove line in text file that including charactor "i"

Hello Experts,

I have text file look like this

##########################
0785868698
0785884026
0786010832
0786301044
0786319994
0786492819
0786668733
0786765147
0786962116
0787789104
0787999007
0787999099
0788193983
0788679362
0788755966
0788786195
0788893431
0789356031
0789399461
110001, id
dentificat
entificati
ificationN
ntificatio
tification
#######################

I would like to use shell script / awk / sed to remove line which including charactor "i"

Please see attachment.

Thank you.
MTN-MSISDN-list-Abillity-error-u.txt
ASKER CERTIFIED SOLUTION
Avatar of Kent Dyer
Kent Dyer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of trazodone

ASKER

Thank you.