Hi all
Does anybody knows some .bat command to remove plain numbers from a (huge) dictionary list. (.txt or .dic)
Thank you for any reply
tibit
Thank you for your quick reply epixoip,
but I think this will remove "all" numbers.
I want : example
4519aar
451975a
4519752
451B78l
4519789
will remove :
4519752
4519789
exportfile (out):
4519aar
451975a
451B78l
note:I'm using windows ...
tibit
egrep -v '^[0-9]+$' dict >dict.1
i'm sure you can find sed, grep, etc for windows. most people on these forums use these tools on windows, so they're definitely out there.
msys/mingw is your friend
Thank you very much,
I will try this out
regards,
tibit
sed is faster:
Code:
sed "/^[0-9]*$/d" in > out
Thank you so much epixoip and m@lik, sed works with gnuwin32 utilities.
Tried your command and it works great!!
Ill change heading to solved :-)
tibit