5 lines
54 B
Bash
Executable file
5 lines
54 B
Bash
Executable file
x=a/b/c/d
|
|
y=a/
|
|
echo ${x#a/}
|
|
echo ${x#$y}
|
|
echo ${x#*/}
|