grepを使用grepを使用して12文字アルファベットのみの行を取得する
testing.txtには12文字のアルファベットのみの行がいくつありますか?
この抜粋からtesting.txt
tyler1
Tanktop_Paedo
[email protected]
[email protected]
justincrump
cranges10
[email protected]
soulfunkbrotha
timetolearnz
[email protected]
Fire_Crazy
helloworldad
[email protected]
の抜粋、私は2(helloworldad、およびtimetolearnz)の結果を取得したい
私はそれらのすべての行とgrepを確認したいです各行に12文字があります。私はgrepでこれを行う方法を考えることができません。唯一のアルファベットの場合
、私は
grep [A-Za-z] testing.txt
を使用することができると思うが、どのように私はそれがこれだけの文字[A-ZA-Z]は、これらの12個の文字に表示するのですか?
ありがとうございました! – ellsusan