[ic] Darn 'o_value' in options table

Jason Kohles interchange-users@interchange.redhat.com
Thu Dec 27 10:43:01 2001


On Thu, Dec 27, 2001 at 01:54:42PM +0000, info@gurugroup.net wrote:
> I am importing an existing database into the IC
> GDB format for use as a catalog.

> Small,Medium,Large
> 
> Does anyone know of a good Perl script to parse this?

This is what I've used in the past:

sub convert_size {
    return join(",\r", map { $_ = join('=',$_,$_) } split(',',shift))."\r";
}   

-- 
Jason Kohles                                 jkohles@redhat.com
Senior System Architect                      (703)786-8036 (cellular)
Red Hat Professional Consulting              (703)456-2940 (office)