Public bug reported:

In /bin there's a lot of shell scripts and two duplicate gzips.  At the
very least we can make gunzip and zcat symlinks; although a few of the
other duplicate scripts can be symlinked together too:
-rwxr-xr-x 4 root root 57188 2006-06-22 05:17 /bin/gunzip
-rwxr-xr-x 1 root root  4895 2006-06-22 05:17 /bin/gzexe
-rwxr-xr-x 4 root root 57188 2006-06-22 05:17 /bin/gzip
-rwxr-xr-x 4 root root 57188 2006-06-22 05:17 /bin/zcat
-rwxr-xr-x 2 root root  1974 2006-06-22 05:17 /bin/zcmp
-rwxr-xr-x 2 root root  1974 2006-06-22 05:17 /bin/zdiff
-rwxr-xr-x 3 root root  3561 2006-06-22 05:17 /bin/zegrep
-rwxr-xr-x 3 root root  3561 2006-06-22 05:17 /bin/zfgrep
-rwxr-xr-x 1 root root  1525 2006-06-22 05:17 /bin/zforce
-rwxr-xr-x 3 root root  3561 2006-06-22 05:17 /bin/zgrep
-rwxr-xr-x 1 root root   103 2006-06-22 05:17 /bin/zless
-rwxr-xr-x 1 root root  1886 2006-06-22 05:17 /bin/zmore
-rwxr-xr-x 1 root root  3518 2006-06-22 05:17 /bin/znew

Here are the sha1sums (grouped) with symlinks that can be made noted:

dc98f24b25ff675b931962329a981433811952e5  gunzip -> gzip
dc98f24b25ff675b931962329a981433811952e5  gzip
dc98f24b25ff675b931962329a981433811952e5  zcat -> gzip

415f95a99665789911ff63c0221dcc96ed82229f  zcmp -> zdiff
415f95a99665789911ff63c0221dcc96ed82229f  zdiff

82a1cc4b113436134a1f19e7bbf794b187aef3d7  zegrep -> zgrep
82a1cc4b113436134a1f19e7bbf794b187aef3d7  zfgrep -> zgrep
82a1cc4b113436134a1f19e7bbf794b187aef3d7  zgrep

9f480577e66c16c90d0c482592e29d8c57c5c1f9  zforce
4bde537c97e26f9096279729c473b6edbc5e85d5  gzexe
b453674824ef952cfd406e7b6003aa8ad58fbedc  zless
b64ca86a5572992c3c77dc85857b47d0bb78ebb1  zmore
9b6310e5855ad409d7a0f4fdd8ecb6d80f3f1697  znew

And space usage:

[EMAIL PROTECTED]:/tmp/x$ du -sh gzip gzip.orig
80K     gzip
212K    gzip.orig

So we save 132K.  Every little bit helps.

** Affects: Ubuntu
     Importance: Untriaged
         Status: Unconfirmed

-- 
gzip extra space usage
https://launchpad.net/bugs/51031

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to