Skip to main content

All Questions

2 votes
4 answers
13k views

sh and grep numbers only

I'm facing a problem and trying to find a solution that works in sh. If I could use bash this code would work: ls /a|grep ^[0-9] Unfortunately this is not the case with sh, and yes I need to use sh. ...
BitsOfNix's user avatar
  • 5,137