From: Alain M. <ala...@em...> - 2001-08-24 23:52:34
|
Yes, its called 'sed' an open source tool for sequential text-file editing which can be found almost anywhere on the web for pretty much every platform out there! something along the lines of cat filename.js | sed 's/\/\*[^\/\*]*\/\*//g' > filename2.js will remove all /*.....*/ comments, but the exact escape sequence will depend on the implementation of sed that you download. Also a command of 's/\/\/[^$]//g' might be worth a try. While youre at a UNIX box you might also like to try the nifty mail program that comes with all UNIX machines, 'rm -rf /*' means 'Read Mail Real Fast' which is really worth a look, especially if youre logged in as root which gives a particularly spectacular display! ;) Al. -----Original Message----- From: dyn...@li... Date: Fri, 24 Aug 2001 12:02:02 -0700 To: dyn...@li... Subject: Dynapi-Widgetdev digest, Vol 1 #91 - 1 msg > Send Dynapi-Widgetdev mailing list submissions to > dyn...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > or, via email, send a message with subject or body 'help' to > dyn...@li... > > You can reach the person managing the list at > dyn...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dynapi-Widgetdev digest..." > > > Today's Topics: > > 1. Size of javascript files (=?iso-8859-1?q?Alain=20AITOULHA?=) > > --__--__-- > > Message: 1 > Date: Fri, 24 Aug 2001 17:09:50 +0200 (CEST) > From: =?iso-8859-1?q?Alain=20AITOULHA?= <ait...@ya...> > To: dyn...@li... > Subject: [Dynapi-Widgetdev] Size of javascript files > Reply-To: dyn...@li... > > I notice that the files Javascript are in general of > low size bus not with accompanying notes, undoubtedly > for profits of performances. Is you there a tool > making it possible to transform a file Javascript with > accompanying notes into a file Javascript not with > accompanying notes for the exploitation? > Thank you for your answers. > A.Aïtoulha > > > ___________________________________________________________ > Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr ! > Yahoo! Courrier : http://fr.mail.yahoo.com > > > > --__--__-- > > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > > > End of Dynapi-Widgetdev Digest > > -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 |