Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    Hi Ahmad, do you mean you would like to remove capital and lowercase letters and keep digits? Commented Sep 20, 2018 at 22:25
  • 1
    This reads like homework for school? You should at least have a try, maybe man sed for starters Commented Sep 20, 2018 at 22:31
  • Hi I want to keep the lines with digits , only lower, oly capital and digit with lower or capital both Commented Sep 20, 2018 at 22:33
  • Hi Goro plz help as my example output above Commented Sep 20, 2018 at 22:35
  • 1
    Please try harder to explain more clearly what you want.  I don’t understand your problem statement, and I can’t figure it out from the example.   Please do not respond in comments; edit your question to make it clearer and more complete. Commented Sep 20, 2018 at 22:45