I have dataset as:
file.txt
de
fds
fds
a
sa
1
2
3
1
}
I would like to delete all the lines starting with characters or special characters. So my outfile is:
out.txt
1
2
3
1
I could do it manually with 'sed', but I am looking for a suitable command for this.
my code:
sed -i '/d//g' file.txt
sed -i '/f//g' file.txt
sed -i '/a//g' file.txt
sed -i '/s//g' file.txt
sed -i '/}//g' file.txt