linux sed replace string with regexp
We have a file generated automatically and it shows
Syntax Error: Word Unexpected (Expectating “do”) Shell
Im using docker for the first time to extract some file .dbc to .csv, following this repository: https://github.com/greatjapa/dbc2csv.
When I execute docker run -it -v "/c/Users/Vinicius/dbc2csv/source:/usr/src/app/data dbc2csv make"
i get the following error:
shell script error – [expr $i%3==0]: command not found [expr $i%5==0]: command not found
I am writing script is to print the numbers from 1 to 100 that are divisible by 3 or 5 and not divisible by 15.