How can I delete the lines that exceed specific number of letters and characters from a text file ?
For example: In this text file :
a;dskjshdkjhgsdlhbcandsncas;ldjch;sdkjncla;dskjshdkjhgsdlhb5451candsncas;ldjch;sdkjncl
zdkcjsdczdkcjsd#c
adsaskads;lad;sjdikm;adsaskad@#s;l35684ad;sjdikm;
;okjilhj;okjilh@j
oieoigsbkdsjhcyavscjbkajlknscm;laoieoigsb53454kdsjhcyavscjbkajlknscm;la,
How can I delete automatically ( using a command line) all the lines that include only 8 letters and characters? I am asking this question because I have a sort of text files and I want to delete only the lines that have 8 letters(letters and characters) in it ( it is similar lines between all the files and have the same letters and characters).