Skip to main content
17 events
when toggle format what by license comment
Jun 5, 2020 at 16:00 history edited user224016 CC BY-SA 4.0
deleted 3 characters in body
Jun 5, 2020 at 15:54 history edited user224016 CC BY-SA 4.0
Question had an ambiguity that could have seriously affected solutions.
Jun 5, 2020 at 15:49 comment added user224016 Thank you G-Man for also pointing that out, I really messed up quite a lot there so I'll edit what I can. Re adjacent characters to CAT, my simplified question is ambiguous. I'm not sure which solutions here have assumed spaces or have not. I'll edit the question to say this. In the actual use case (complex bash function about tags in filenames) CAT is illegal if bordered by any alphanumeric characters and will have been filtered out earlier on.
Jun 5, 2020 at 15:40 vote accept user224016
Jun 5, 2020 at 0:42 comment added G-Man Says 'Reinstate Monica' (1) Please specify what should be done with CAT, (i.e., CAT followed by punctuation), CATCH, BOBCAT and LOCATE. (2) steeldriver's answer IS a single sed command — see the comments.  Even Dale Hagglund agrees.
Jun 4, 2020 at 16:18 comment added user224016 Everything here is great. I've gone with the one that entirely uses a single sed pipeline (see its comment to know why.) If any readers want that too, scroll down cos it's not very upvoted atm.
Jun 4, 2020 at 15:55 vote accept user224016
Jun 5, 2020 at 15:40
Jun 4, 2020 at 7:55 answer added Dale Hagglund timeline score: 2
Jun 4, 2020 at 5:04 answer added Sundeep timeline score: 5
Jun 4, 2020 at 3:11 history became hot network question
Jun 3, 2020 at 22:29 history edited Cyrus CC BY-SA 4.0
layout fixed
Jun 3, 2020 at 20:08 answer added Quasímodo timeline score: 5
Jun 3, 2020 at 19:44 answer added bu5hman timeline score: 4
Jun 3, 2020 at 19:22 answer added steeldriver timeline score: 10
Jun 3, 2020 at 19:17 comment added Jeff Schaller I imagine an awk-based answer would be more straight-forward; would that be acceptable?
Jun 3, 2020 at 19:08 review First posts
Jun 3, 2020 at 19:17
Jun 3, 2020 at 19:07 history asked user224016 CC BY-SA 4.0