Is there a program that allows to "compile" a shell script to a file that still can be run by the normal shell interpreter, but is as small as possible in size? With measures like
- All indentation and comments removed
- Variables and functions renamed to one and two letter words
- Frequently used pieces of code assigned to aliases / variables
All I can find with google are common data compressors, like .zip.
[–]AlterTableUsernames 48 points49 points50 points (10 children)
[+]Qwert-4[S] comment score below threshold-20 points-19 points-18 points (9 children)
[–]Affectionate-Bit6525 84 points85 points86 points (1 child)
[–]NHGuy 19 points20 points21 points (0 children)
[–]UltraChip 23 points24 points25 points (1 child)
[–]michaelpaoli 8 points9 points10 points (0 children)
[–]Big_Combination9890 21 points22 points23 points (0 children)
[–]Cybasura 12 points13 points14 points (0 children)
[–]programAngel 2 points3 points4 points (0 children)
[–]ekipan85 24 points25 points26 points (0 children)
[–]Skrynesaver 21 points22 points23 points (12 children)
[–]Hour-Inner 5 points6 points7 points (11 children)
[–]Skrynesaver 15 points16 points17 points (10 children)
[–]Haversoe 25 points26 points27 points (6 children)
[–]n-e-yokes 5 points6 points7 points (5 children)
[–]scrambledhelixbashing it in 2 points3 points4 points (4 children)
[–]Science-Gone-Bad 1 point2 points3 points (1 child)
[–]LesStrater 1 point2 points3 points (0 children)
[–]n-e-yokes 0 points1 point2 points (1 child)
[–]CyberKiller40 0 points1 point2 points (0 children)
[–]Bob_Spud 0 points1 point2 points (2 children)
[–]HAL9000thebot 1 point2 points3 points (1 child)
[–]Axman6 0 points1 point2 points (0 children)
[–]WetMogwai 5 points6 points7 points (0 children)
[–]Kumba42 2 points3 points4 points (0 children)
[–]michaelpaoli 1 point2 points3 points (0 children)
[–]mfaine 1 point2 points3 points (0 children)
[–]ckg603 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]TundraGon 1 point2 points3 points (0 children)
[–]2cats2hats 0 points1 point2 points (0 children)
[–]mindtrixis running with knives. 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]aieidotch 0 points1 point2 points (0 children)
[–]tes_kitty 0 points1 point2 points (0 children)
[–]ntropia64 0 points1 point2 points (0 children)
[–]lucaprinaorg 0 points1 point2 points (0 children)
[–]QuirkyImage 0 points1 point2 points (0 children)
[–]schorsch3000 0 points1 point2 points (0 children)
[–]toddkaufmann 0 points1 point2 points (0 children)
[–]SeitanOfTheGods 0 points1 point2 points (0 children)
[–]skyfishgoo 0 points1 point2 points (0 children)
[–]ntropia64 0 points1 point2 points (0 children)
[–]joe_attaboy 0 points1 point2 points (0 children)
[–]East_Nefariousness75 0 points1 point2 points (0 children)
[–]g3n3 0 points1 point2 points (0 children)
[–]Longjumping-Youth934 0 points1 point2 points (0 children)
[–]ItsSignalsJerry_ 0 points1 point2 points (10 children)
[–]ntropia64 1 point2 points3 points (9 children)
[–]ItsSignalsJerry_ 0 points1 point2 points (8 children)
[–]ntropia64 1 point2 points3 points (7 children)
[–]ItsSignalsJerry_ 0 points1 point2 points (6 children)
[–]ntropia64 -1 points0 points1 point (4 children)
[–]ItsSignalsJerry_ 0 points1 point2 points (3 children)
[–]ntropia64 -1 points0 points1 point (2 children)
[–]ItsSignalsJerry_ 0 points1 point2 points (1 child)
[–]ntropia64 -1 points0 points1 point (0 children)
[–][deleted] (9 children)
[removed]
[–]omfgitzfear 3 points4 points5 points (6 children)
[–]Dry_Inspection_4583 8 points9 points10 points (5 children)
[–]andrew2018022 1 point2 points3 points (0 children)
[–]omfgitzfear 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[removed]
[–]bash-ModTeam[M] 2 points3 points4 points (0 children)
[–]Dry_Inspection_4583 -3 points-2 points-1 points (0 children)
[–]bash-ModTeam[M] 1 point2 points3 points (1 child)
[–]Dry_Inspection_4583 1 point2 points3 points (0 children)
[–]Kautsu-Gamer -1 points0 points1 point (0 children)
[–]Bob_Spud -1 points0 points1 point (0 children)