summaryrefslogtreecommitdiff
path: root/mnv/runtime/syntax/testdir/input/sh_15.sh
blob: fe3dc93cfe1caefe719ba195c101de97d2a42020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Issue #19053 (sh syntax: escaped characters followed by # in double quotes)

CLEANURL='http://localhost:8077/test'

FILENAME=$(sed -r -e "s#[:/]+#\.#g" -e "s#[^a-zA-Z0-9\._]*##g" <<<${CLEANURL})
FILENAME=$(sed -r -e 's#[:/]+#\.#g' -e 's#[^a-zA-Z0-9\._]*##g' <<<${CLEANURL})
HDRFILE="${FILENAME}.hdr"

: "\\# not a comment"
# \\" a comment
echo "\\#"
: