Search code examples
bash array slicing strange syntax in perl path: `${PATH:+:${PATH}}"`...

bashpathparameter-expansion

Read More
How can I execute a command stored in a variable?...

shellunixparameter-expansion

Read More
Why does this parameter expansion replacement fail in bash 4.2 but work in 5.1?...

bashglobparameter-expansion

Read More
Why isn't this Bash string substitution working?...

bashparameter-expansion

Read More
Why is ${1[@]} invalid, even though ${stringVar[@]} works otherwise?...

bashparameter-expansion

Read More
i want to change the names of the files and this change is in the middle. i basically need to remove...

bashloopsfilerenameparameter-expansion

Read More
Nested double quotes in parameter expansion...

bashparameter-expansion

Read More
Parameter expansion with replacement, avoid additional variable...

bashparameter-expansion

Read More
How to replace a variable's comma-separated string with whitespaces?...

bashsedenvironment-variablesparameter-expansion

Read More
semver increment in shell script...

shparameter-expansion

Read More
zsh ${var##$pat} parameter expansion with pattern var containing globs...

zshglobparameter-expansion

Read More
How to replace the last octet in an IP adress using Bash?...

bashipv4parameter-expansion

Read More
How can I add a default parameter to a `Bash` function?...

bashfunctiondefault-valueparameter-expansion

Read More
Prevent variable expansion in the parameter of a function...

bashparameter-expansion

Read More
Powershell equivalent of Bash "Alternate Value"...

powershellparameter-passingparameter-expansion

Read More
The mechanics of this shell syntax: ${1:-$(</dev/stdin)}...

bashstdincommand-substitutionparameter-expansion

Read More
How to extract substring in Fish shell?...

substringfishparameter-expansion

Read More
Parameter Expansion in Zsh vs Bash: what is the equivalent of "${VAR,,}"?...

zshparameter-expansion

Read More
Remove domain from email using linux substring bash...

stringbashemail-addressparameter-expansion

Read More
Bad subsitution when trying to do string replacement with parameter expansion...

bashshsubstitutionstring-substitutionparameter-expansion

Read More
How to remember which expansion ${var%} ${var#} work from which end?...

bashshellparameter-expansion

Read More
Redundant use of :- in Bash?...

bashsyntaxparameter-expansion

Read More
Shell parameter expansion on arrays...

arraysbashparameter-expansion

Read More
Bash Parameter Expansion - get part of directory path...

bashparameter-expansion

Read More
'Docker cp' with parameter expansion (PowerShell)...

dockerpowershelldocker-for-windowsparameter-expansiondocker-cp

Read More
Deleting leading spaces is not working in Bash...

stringbashremoving-whitespaceparameter-expansion

Read More
Converting a BASH script to run on SH (via BusyBox)...

bashshparameter-expansion

Read More
Change the base of an array elemnts from octal to decimal (inside a local bash script that run remot...

arraysbashremote-serveroctalparameter-expansion

Read More
What is this bash parameter expansion syntax?...

bashparameter-expansion

Read More
How to convert day name to lowercase in bash script?...

bashlowercaseparameter-expansion

Read More
BackNext