posted by Arthur Kho Caayon at 2:44 AM
${dirname `pwd`}: bad substitution
Curly braces expand a variable.Parentheses evaluate and result a string.PARENTDIR=$(dirname `pwd`)
Post a Comment
<< Home
2 Comments:
${dirname `pwd`}: bad substitution
Curly braces expand a variable.
Parentheses evaluate and result a string.
PARENTDIR=$(dirname `pwd`)
Post a Comment
<< Home