Home > OS >  A shell script received how smoothing parameter contains special characters
A shell script received how smoothing parameter contains special characters

Time:11-15

Recently met a shell script need to pass a url as the reference, but the parameters included & amp; ? And other special characters, but I don't want to outside this url with single and double quotes, any good way to deal with this?
I.e.,/test. Sh https://www.sina.net/images_.tgz? KeyId=AKOZDLMWQMNEU5OCJW & amp; Expires=1605322557926 & amp; Signature=D87fvBMNH5brQsdfjyJkCy7Mh80=
  • Related