Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-10-2006, 05:27 PM   #1
LQ Newbie
Registered: Jul 2006
Posts: 28

Rep: Reputation: Disabled
Delimiters in control file

hi all,

Is it possible to have different delimiter in control file(i.e for same test file first i can have # rlater ican change to . in the file )as delimiter

instead of hardcoding evry time is it possible to store delimiter config variable n replace it in control file

All ready the pathname/filename in control file is got thru a config var


Last edited by ancys; 08-10-2006 at 09:59 PM.
Old 08-11-2006, 11:40 AM   #2
Senior Member
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
this may or may not be what you are talking about, since you provided no code, specified no language and did not describe this 'control file'. but ill still say that in theory this should be easy to do..

just read the first char of the file in and say that is the delimiter, from there on out pass that char to the record reading functions to use a a delimiter


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
control the view of a file qrshat Programming 8 02-18-2006 02:24 PM
control the view of a file qrshat Programming 2 02-17-2006 09:17 AM
Parse --static string no delimiters DaFrEQ Programming 2 04-08-2005 02:06 PM
Looking for the file that control what processes are loaded! sjia Linux - Software 1 04-08-2004 12:21 AM
which file control su $PATH? zsutomato Linux - Newbie 3 08-15-2003 01:44 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration