Why does this script work in the terminal but not from a file? – unix.stackexchange.com 03:55 Posted by Unknown No Comments I have this shell script saved in a file: it does some basic string substitution. #!/bin/sh html_file=$1 echo "html_file = $html_file" substr=.pdf pdf_file="${html_file/.html/.pdf}" echo "pdf_file = ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitWhy doesn't this loop process one file at a time? – unix.stackexchange.comWhat is the silver object on the desk and what is 'Elizabeth I' doing with it? – history.stackexchange.comHow do I create a diagram that looks a little like this? – tex.stackexchange.comWhat is Dune Bashing? – travel.stackexchange.comHow long should I keep the bag tag and it’s receipt? – travel.stackexchange.comWhy did the Francis the fish given by Lily Potter to Professor Slughorn disappear upon Lily's death? – scifi.stackexchange.com
0 Comment to "Why does this script work in the terminal but not from a file? – unix.stackexchange.com"
Post a Comment