regexp

  1. L

    Shell regexp and shell script changing url links to base64 in css files

    so this script can alter the url to data64 encoding by matching in css file background-image: url(afdsf.png). some contribute this: echo 'background-image: url("../images/doesntmatter/imgDoesNotMatter.png");' | sed -r 's,background-image\s*:\s*url\("(.+)"\);,\1,'...
Back
Top