Bug in tar option parsing.

Rob Landley rob at landley.net
Mon Apr 16 16:04:38 UTC 2012


The uClibc install does this:

  build/host/tar --exclude=ld-uClibc.so.lds -c *.so.*

And gets this:

build/host/tar: invalid option -- '-'
BusyBox v1.19.3 (2012-04-15 20:55:55 CDT) multi-call binary.

Usage: tar -[cxtzjhvO] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Operation:
	c	Create
	x	Extract
	t	List
	f	Name of TARFILE ('-' for stdin/out)
	C	Change to DIR before operation
	v	Verbose
	z	(De)compress using gzip
	j	(De)compress using bzip2
	O	Extract to stdout
	h	Follow symlinks

-- 
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation.  Pick one.


More information about the busybox mailing list