hammer v2
August 26th, 2008, 03:00 PM
Hi guys,
I'm making a metapackage creator script 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@superdeb.org>
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@superdeb.org>
Architecture: i386
Depends: ckermit, libsocksd, openbsd-inetd
Description: This is the metapackage used to install barry
Any Ideas?
I'm making a metapackage creator script 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@superdeb.org>
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@superdeb.org>
Architecture: i386
Depends: ckermit, libsocksd, openbsd-inetd
Description: This is the metapackage used to install barry
Any Ideas?