I want to use regex in bash at line of variable assignment
oldip="14\.130\.31\.172" oldip_a="220.127.116.11" << How to use regex to del all '\'? and assign to oldip_a
Do you have any idea?
To remove the
Or, if there are many occurrences
?! .. I just noticed that your second data item is a reversal of the first.. Is that what you want as your output? (probably not, but it got me wondering)..