Delete numbers at the beginning of lines

Viewed 6411

I have a file "file.txt" in which some rows begins with numbers.

E.g. file.txt:

1 bla bla 390
23 foo foo 100
# bar bar 

some word

45 junk

Is there an easy and fast way to delete the numbers (and the space) from all the lines that start with a number, while deleting only the space from the others?

I would like a command so that the file then looks like:

bla bla 390
foo foo 100
# bar bar 

some word

junk
2 Answers
Related