Hi guys, I'm making a metapackage creator script in gambas and need some help manipulating text.
I have a txt file like this... Package: barry Version: 1.0 Section: unknown Priority: optional Maintainer: Superdeb! <[EMAIL PROTECTED]> Architecture: i386 Depends: ckermit_211-8ubuntu1, libsocksd_1.1.18-2.1, openbsd-inetd_0.20050402-6 Description: This is the metapackage used to install barry But i need it to look like this; Package: barry Version: 1.0 Section: unknown Priority: optional Maintainer: Superdeb! <[EMAIL PROTECTED]> Architecture: i386 Depends: ckermit, libsocksd, openbsd-inetd Description: This is the metapackage used to install barry Any Ideas on how to do this with Gambas or perl or awk? Thanks guys! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user