How can I read the filename from a script? #1803
Unanswered
bobbykjack
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently have a script that stuffs its input into HTML and sends that to the browser using data:text/html. This works OK, but I have some markdown files under a local web server's docroot that I'd like to serve directly. So I'm trying to get the path of the specific file when running a script.
I've looked in both the ENV and $@ but neither contains the file path. Is there another way to get this data?
Beta Was this translation helpful? Give feedback.
All reactions