[BusyBox] globbing problem with gzip/gunzip

Giulio Orsero giulioo at pobox.com
Tue Feb 5 12:09:06 UTC 2002


latest cvs

gzip/gunzip only process the first file:

[go at i4 dir1]$ ls -l
total 212
-rwxrwxr-x   1 go       go         203760 Feb  5 20:03 busybox
-rw-rw-r--   1 go       go             97 Feb  5 20:04 file1
-rw-rw-r--   1 go       go             97 Feb  5 20:04 file2
[go at i4 dir1]$ ./busybox gzip file*
[go at i4 dir1]$ ls -l
total 212
-rwxrwxr-x   1 go       go         203760 Feb  5 20:03 busybox
-rw-rw-r--   1 go       go             25 Feb  5 20:04 file1.gz
-rw-rw-r--   1 go       go             97 Feb  5 20:04 file2
[go at i4 dir1]$ ./busybox gzip file2
[go at i4 dir1]$ ls -l
total 212
-rwxrwxr-x   1 go       go         203760 Feb  5 20:03 busybox
-rw-rw-r--   1 go       go             25 Feb  5 20:04 file1.gz
-rw-rw-r--   1 go       go             25 Feb  5 20:05 file2.gz
[go at i4 dir1]$ ./busybox gunzip *.gz
[go at i4 dir1]$ ls -l
total 212
-rwxrwxr-x   1 go       go         203760 Feb  5 20:03 busybox
-rw-rw-r--   1 go       go             97 Feb  5 20:05 file1
-rw-rw-r--   1 go       go             25 Feb  5 20:05 file2.gz
[go at i4 dir1]$

-- 
giulioo at pobox.com



More information about the busybox mailing list