Timeline for How to "grep" for line length *not* in a given range?
Current License: CC BY-SA 3.0
23 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
| Dec 15, 2015 at 22:33 | history | edited | mikeserv | CC BY-SA 3.0 |
edited title
|
| Dec 15, 2015 at 21:46 | comment | added | mikeserv | @DmitryGrigoryev - guess somebody didn't like it. take it from one who's been there - forget about it. | |
| Dec 15, 2015 at 8:03 | comment | added | Dmitry Grigoryev | what happened to my comment? | |
| Dec 15, 2015 at 4:47 | comment | added | slm♦ | @mikeserv - it's generally a pain, I have to merge the answers into one of the Q's and they then get deleted from the original. This is the guidance for doing it: "Questions should be merged when they are 99% identical and it would be beneficial to have all the answers from multiple duplicate questions in one place. This deletes answers, moves them to the target question, and leaves the current question as a stub with a link to its merge target." | |
| Dec 15, 2015 at 4:40 | comment | added | slm♦ | @mikeserv - yeah in looking at this again it probably makes more sense to close towards this Q&A the other as the dup. | |
| Dec 15, 2015 at 4:29 | history | edited | slm♦ | CC BY-SA 3.0 |
added 164 characters in body
|
| Dec 15, 2015 at 4:24 | history | reopened | slm♦ | ||
| Dec 14, 2015 at 22:19 | history | closed |
Sparhawk dhag slm♦ |
Duplicate of How to "grep" for line length in a given range? | |
| Dec 14, 2015 at 20:45 | review | Close votes | |||
| Dec 14, 2015 at 22:19 | |||||
| S Dec 14, 2015 at 14:14 | history | suggested | Clément | CC BY-SA 3.0 |
Fixed grammar in edited title
|
| Dec 14, 2015 at 13:43 | review | Suggested edits | |||
| S Dec 14, 2015 at 14:14 | |||||
| Dec 14, 2015 at 13:23 | history | edited | Braiam | CC BY-SA 3.0 |
edited title
|
| Dec 14, 2015 at 13:19 | comment | added | Olivier Dulac |
I know you ask for grep, but you may consider awk, especially if you need further processing, etc (very flexible, and readable): awk '( length($0)<8 ) || ( length($0)>63 )' #default action of a condition is to print the line(s) matching the condition . Or, with less processing on $0: awk '{ l=length($0) ; if (( l<8 ) || l>63 ) { print $0 ;} }'
|
|
| Dec 14, 2015 at 10:51 | history | edited | LoukiosValentine79 | CC BY-SA 3.0 |
added 4 characters in body
|
| Dec 14, 2015 at 9:27 | history | edited | mikeserv |
edited tags
|
|
| Dec 14, 2015 at 9:19 | history | tweeted | twitter.com/StackUnix/status/676330624005861377 | ||
| S Dec 14, 2015 at 9:14 | history | edited | mikeserv | CC BY-SA 3.0 |
edited title
|
| Dec 14, 2015 at 9:01 | review | Suggested edits | |||
| S Dec 14, 2015 at 9:14 | |||||
| Dec 14, 2015 at 8:57 | history | edited | mikeserv | CC BY-SA 3.0 |
added 116 characters in body
|
| Dec 14, 2015 at 8:54 | vote | accept | LoukiosValentine79 | ||
| Dec 14, 2015 at 8:52 | answer | added | mikeserv | timeline score: 38 | |
| Dec 14, 2015 at 8:38 | history | asked | LoukiosValentine79 | CC BY-SA 3.0 |