[buug-l] tar: eliminiere Pfad-Anteil beim Auspacken
Harald Welte
laforge at gnumonks.org
Sat Apr 19 13:21:43 CEST 2003
On Sat, Apr 19, 2003 at 11:35:49AM +0200, Michael Wiedmann wrote:
> - oder gibt es einen anderen eleganteren Weg ausser über 'tar'
f=xsl/foo/bar/file.xsl
fshort=${f##xsl/}
echo $fshort
> Frohe Ostern
> Michael
--
- Harald Welte <laforge at gnumonks.org> http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : /pipermail/attachments/20030419/343e1f1d/attachment.pgp
More information about the buug-l
mailing list