removing arithmetic forms using sed – Ubuntu
I want to remove ${} among arithmetic form in the file using sed for example abc=$(( ${var}+3 )) to abc=$(( var+3 )) I'm using positional swapping in sed something like sed -E 's/(w+W$(( ) (${) (w+) (}) (.*)/1 3 5/g…