[Gambas-user] Edit a text file?
Hamish Robertson
robertsonhamish at ...626...
Tue Aug 26 16:07:46 CEST 2008
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! <superdeb at ...1917...>
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! <superdeb at ...1917...>
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!
More information about the User
mailing list