mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 61bdae4adf6576d663b3ebf09c385e8a8696d0b1
parent 1a9492b0acac3b54d8958059a4b6fda5978a18d3
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu,  9 Apr 2015 05:58:32 +0200

fix delimiter

Diffstat:
htmlredirect | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htmlredirect b/htmlredirect @@ -1,8 +1,8 @@ #!/bin/bash -# output code of a HTML redirect to $1 +# output code of a HTML redirect to $1 (should not contain ',') -cat <<EOF | sed 's/URL/'$1'/g' +cat <<EOF | sed 's,URL,'$1',g' <!DOCTYPE html> <html dir="ltr" xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> <head>