Skip to main content
11 events
when toggle format what by license comment
Jan 17, 2018 at 17:50 answer added Guy timeline score: 2
May 23, 2017 at 11:33 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Apr 13, 2017 at 12:36 history edited CommunityBot
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Feb 24, 2017 at 16:56 history edited vesperto CC BY-SA 3.0
added 527 characters in body
Feb 24, 2017 at 16:23 history edited vesperto CC BY-SA 3.0
added 13 characters in body
Feb 24, 2017 at 16:23 comment added vesperto @Serg true, value ~ "MYVALUE" is wrong, i was just testing (a stupid test). One field is not enough because this is a text file with long lines where the fields are defined by offsets, there is no separator character. So i want to compare either with substr on $0 or with a range like ($5,$6,...$,15) ~ parameterValue.
Feb 24, 2017 at 14:12 comment added Sergiy Kolodyazhnyy so youre doing value ~ "MYVALUE" , but then on command-line you show -v value="MYVALUE" . Please clarify this part. You are effectively checking same thing against itself, but my understanding is that you want to specify a field number like $1. Is there an example of actual input, output, and actual variable that you can provide ?
Feb 24, 2017 at 14:08 comment added Jeff Schaller could you not reverse the operands? "M" ~ value ?
Feb 24, 2017 at 13:54 review First posts
Feb 24, 2017 at 14:08
Feb 24, 2017 at 13:52 answer added vesperto timeline score: 1
Feb 24, 2017 at 13:44 history asked vesperto CC BY-SA 3.0