|
From: | Peng Yu |
Subject: | [Help-bash] Is there a way to combine $( and ${%}? |
Date: | Thu, 7 Dec 2017 21:58:34 -0600 |
Hi, I have the following commands. Is there a way to combine them into one command? x=$(readlink -e "$0") x=${x%/*} -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |