shell-quote
module to quote strings for passing through the shell
Install
- All systems
-
curl cmd.cat/shell-quote.sh
- Debian
-
apt-get install libstring-shellquote-perl
- Ubuntu
-
apt-get install libstring-shellquote-perl
- Arch Linux
-
pacman -S perl-String-ShellQuote
- Kali Linux
-
apt-get install libstring-shellquote-perl
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libstring-shellquote-perl
- Raspbian
-
apt-get install libstring-shellquote-perl
- Dockerfile
- dockerfile.run/shell-quote
libstring-shellquote-perl
module to quote strings for passing through the shell
The String::ShellQuote module contains some functions which are useful for quoting strings which are going to pass through the shell or a shell-like object, plus a command-line interface to it. It is useful for doing robust tool programming, particularly when dealing with files whose names contain white space or shell globbing characters.