Answer the question
In order to leave comments, you need to log in
How can I filter the output by the number of characters in a column?
Good afternoon.
I am writing a script and needed to do the following. There is a file like this:
102 xxxxx xxxxxxxxxxx
150 xxxxx xxxxxxxxxxx
3000 xxxxx xxxxxxxxxxx
3600 xxxxx xxxxxxxxxxx
In general, the first columns can be 3-digit numbers or 4-ex. Here's how I can display only those lines in which there are 4 digits in the first column?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question