17 Mar
2022
17 Mar
'22
14:16
Op donderdag 17 maart 2022 15:08:28 CET schreef Patrick Shanahan:
I need to escape the periods in some ip addresses.
I need xc=111.111.111.111 to become 111\\.111\\.111\\.111
sed appears (or not) to be the proper utility but I cannot get the correct syntax.
tks
IP=111.111.111.111 xc=`echo "${IP//./}" ` -- Gertjan Lettink a.k.a. Knurpht openSUSE Board openSUSE Forums Team