This website requires JavaScript.
Explore
Help
Sign In
andrius
/
gash
mirror of
https://git.savannah.gnu.org/git/gash.git
Watch
1
Star
0
Fork
You've already forked gash
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c5f2f56268
gash
/
tests
/
data
/
basename.sed
14 lines
146 B
Sed
Raw
Blame
History
/
^.*\/\([^
/
]
[
^
/
]*\)\/*$
/
{
s
/
/
\1
/
q
}
/
^X\/\(\/\/\)$
/
{
s
/
/
\1
/
q
}
/
^X\/\(\/\).*
/
{
s
/
/
\1
/
q
}
s
/
.*
/
.
/
;
q
Reference in New Issue
View Git Blame
Copy Permalink