Code Sample |
find ./ -name "*.so" | while read i; do sstrip "$i"; done |
Code Sample |
sstrip firefox-bin updater xpicleanup |
Code Sample |
browserconfig.properties chrome/reporter.jar chrome/reporter.manifest components/libjsd.so components/libmozgnome.so components/libmyspell.so components/libnkgnomevfs.so components/libspellchecker.so components/nsDictionary.js dictionaries/ extensions/inspector@mozilla.org/ extensions/talkback@mozilla.org/ icons/ mozilla-xremote-client old-homepage-default.properties readme.txt |
Code Sample |
Libs: libfreebl3.so libmozjs.so libnspr4.so libnss3.so libnssckbi.so libplc4.so libplds4.so libsmime3.so libsoftokn3.so libssl3.so libxpcom.so libxpcom_compat.so libxpcom_core.so libxpistub.so |
Code Sample |
Move into '/usr/lib/': libmozjs-dev - libmozjs.so libnspr4-dev - libnspr4.so, libplc4.so, libplds4.so libnss3-dev - libnss3.so, libsmime3.so, libsoftokn3.so, libssl3.so libxul0-dev - libxpcom.so, libxpcom_compat.so, libxpcom_core.so |
Code Sample |
libfreebl3.so [228K] libxpistub.so [8K] |
Code Sample |
find ./ -name "*.js" | \ while read i; \ do cpp -P "$i" > "$i".tmp \ && mv "$i".tmp "$i"; \ done find ./ -name "*.css" | \ while read i; \ do cpp -P "$i" > "$i".tmp \ && mv "$i".tmp "$i"; \ done * cpp cannot cope with lines that begin with '#'. It will give errors with a few files: "./defaults/profile/prefs.js:1:3: error: invalid preprocessing directive #Mozilla" - 'prefs.js' can be deleted. "./res/EditorOverride.css:121:2: error: invalid preprocessing directive #mozToc ./res/viewsource.css:44:2: error: invalid preprocessing directive #viewsource ./res/viewsource.css:50:2: error: invalid preprocessing directive #viewsource" - Remove '#', re-run 'cpp -P', reinsert '#'. find ./ -name "*.properties" | while read i; do \ sed '/^#/d' "$i" > "$i".tmp && mv "$i".tmp "$i" && \ sed '/^$/d' "$i" > "$i".tmp && mv "$i".tmp "$i"; done |
Code Sample |
advzip -z4 *.jar |
Code Sample |
upx --best firefox-bin |
Code Sample |
tar -zcf firefox.tar.gz --numeric-owner firefox/ |
Code Sample |
upx --lzma --best firefox-bin |
Code Sample |
tar -zcf firefox.tar.gz --numeric-owner firefox/ |
Code Sample |
libmozjs.so, libnspr4.so, libplc4.so, libplds4.so, libnss3.so, libsmime3.so, libsoftokn3.so, libssl3.so, libxpcom.so, libxpcom_compat.so, libxpcom_core.so |
Code Sample |
components/libmozgnome.so components/libnkgnomevfs.so |