How to use file modifiers in bash/sh# Unix - 噫吁兮,危乎高哉
x*o
1 楼
In csh/tcsh scripts, I use
set basename = $1:r
to obtain the root name of $1.
What's the equivalent in sh/bash scripts?
Thanks.
set basename = $1:r
to obtain the root name of $1.
What's the equivalent in sh/bash scripts?
Thanks.