Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Problem using ';' in an INI file and parsing

Thread Tools

Problem using ';' in an INI file and parsing

Colin O'Keeffe
Posts: n/a

I'm using Config::Abstract::Ini to parse an INI file im using to store
configuration information. The problem is in my INI file one of the
entries is a BASH command like so

command1 = "cat myfile.txt | while read LINE ; do awk -F ',' '{print
$5}' ; done"

Now when it's parsed, it only comes out as

cat myfile.txt | while read LINE

as there's the ; in the command. is there any way to get the parser to
ignore this? can a hex or decimal representation be used in the bash

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
reading .ini file without using a module alfonsobaldaserra Perl Misc 2 03-17-2011 06:46 AM
Parsing INI Files pele Software 0 03-30-2009 03:12 PM
Boot.ini not in root? Where is Boot.ini for Win 2000 pro? Computer Support 15 02-03-2007 03:39 AM
Unable to read/write to .ini file using .dll in webservice Rhydian Coombs via .NET 247 ASP .Net Web Services 1 04-03-2005 01:25 AM
Update INI file problem chapman ASP .Net 0 07-31-2003 03:59 AM