![]() ![]() ![]() Here is the same solution with standard Linux awk (gawk) script. When I combine them together in one script the grep command gets omitted and the script runs only the sed commands: #!/usr/bin/bash I have a grep command that works fine in a script: #!/usr/bin/bashĪnd the desired sed commands that work correctly: #!/usr/bin/bash I want to modify a csv file with some sed commands but only on the rows that match certain regex. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |