aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-10-04 23:28:26 +0200
committerTeddy Wing2017-10-04 23:28:26 +0200
commit26fc1251a1abc506ec7fe0aa4ae4c6fbe937c899 (patch)
tree47b96190f0b9894969f9d135c5d4e2d5a99147b3
parent080a4b87f408e8c7c110c42d623a584c74962ac9 (diff)
downloadqcd-26fc1251a1abc506ec7fe0aa4ae4c6fbe937c899.tar.bz2
qcd: Update comment about slash escapingHEADmaster
I had forgotten to update the comment when I wrote 357eb2484bf58ed202b072b94fff54d81fe0fb49.
-rwxr-xr-xqcd2
1 files changed, 1 insertions, 1 deletions
diff --git a/qcd b/qcd
index 8453b58..5e14999 100755
--- a/qcd
+++ b/qcd
@@ -61,7 +61,7 @@ function __qcd_change_shortcut () {
cp $QCD_DATABASE_FILE "${QCD_DATABASE_FILE}.bak"
- # The `//\//\/` escapes slashes in the path so that `sed` doesn't complain
+ # The `//\//\\/` escapes slashes in the path so that `sed` doesn't complain
sed -E "s/^${shortcut} .+$/${shortcut} ${path//\//\\/}/" \
< "${QCD_DATABASE_FILE}.bak" \
> $QCD_DATABASE_FILE