09-24-2012, 10:02 AM
hi guys!
can somebody help me to clean my dictionaries?
in my dicts i can see many lines like on next screenshot:
https://www.up-urs.net/files/13484728211.png
in which way i can remove lines contains unprintable characters from my lists?
tryed
sed -i '/\x00/d'
from x00 to x09, its work fine, but for 011 to 031 chars not work
also with
sed '/\011/d'
sed "/\c K/d"
sed '/'"$(printf '\011')"'$/d'
have no luck
help, please BASH Guru!
can somebody help me to clean my dictionaries?
in my dicts i can see many lines like on next screenshot:
https://www.up-urs.net/files/13484728211.png
in which way i can remove lines contains unprintable characters from my lists?
tryed
sed -i '/\x00/d'
from x00 to x09, its work fine, but for 011 to 031 chars not work
also with
sed '/\011/d'
sed "/\c K/d"
sed '/'"$(printf '\011')"'$/d'
have no luck
help, please BASH Guru!