Unix-portable way to get script’s absolute path in zsh?
What is a portable1 way for a (zsh) script to determine its absolute path?
What is a portable1 way for a (zsh) script to determine its absolute path?
I am trying out shellcheck.
I have a bunch of directories and subdirectories that contain files with special characters, like this file:
In my bash command line, when I use unzip -l test.zip I get the output like this:
I have this list of pdf files in a directory:
I observed some of the binary files and configuration filenames end with a d.
What is reason for putting a d at the end of the file name?
I’m relatively new to Bash and am trying to do something that on the surface seemed pretty straightforward – run find over a directory hierarchy to get all of the *.wma files, pipe that output to a command where I convert them to mp3 and save the converted file as .mp3. My thinking was that the command should look like the following (I’ve left off the audio conversion command and am instead using echo for illustration):
I was wondering what differences and relations are between file descriptors and file names. Are they all used to access files? If yes, in the same way?
I’m writing a library for manipulation Unix path strings. That being the case, I need to understand a few obscure corners of the syntax that most people wouldn’t worry about.