From c2c7d2c3845fa39c69b6b1ae40f878d76695c0d7 Mon Sep 17 00:00:00 2001 From: Beth Parker Date: Fri, 29 Sep 2017 11:59:52 -0500 Subject: [PATCH] prompt needs to escape slashes --- rename_episode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rename_episode.sh b/rename_episode.sh index 26fc03d..66dedb8 100644 --- a/rename_episode.sh +++ b/rename_episode.sh @@ -5,7 +5,7 @@ fi src=$1 dest=$2 -echo "Schemes should be a regex of the form (?<=TEXT)\d\d(?=TEXT) where TEXT is uniquely identifying text" +echo "Schemes should be a regex of the form (?<=TEXT)\\d\\d(?=TEXT) where TEXT is uniquely identifying text" read -p "Season Scheme? " sscheme read -p "Episode Scheme? " escheme read -p "Series Name? " name