repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update repository
[cmdllinux.git]
/
bash_n_examples
/
bash
/
path
/
path.sh
blob
1e7b93e033294aa8317bb483676446d46f8f6211
1
line
=
"/proc/123/exe"
2
FILE
=
${line##*/}
3
DIR
=
${line%/*}
4
#/proc/123/exe
5
A
=
${i/%\/exe/}
6
A
=
${i%/exe}