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 TerkaitLicensing (or similar) for my fan-game? – gamedev.stackexchange.comWhat exactly does Otto's Irresistible Dance prevent? – rpg.stackexchange.comCan the group of holomorphic automorphisms of an open subset of the complex plane be isomorphic to the additive group of real numbers? – mathoverflow.netWhich to use of ps ef or ps -ef? – askubuntu.comA closed set without isolated points – math.stackexchange.comWhy didn't Trump veto H.R. 3364 since he considers it "significantly flawed" with "clearly unconstitutional provisions"? – politics.stackexchange.com
0 Comment to "Why does this script work in the terminal but not from a file? – unix.stackexchange.com"
Post a Comment