Search Results

Search: Posts Made By: suryanarayan
2,677
Posted By suryanarayan
how do i join two lines from a input file
HI all,
i have a input file,i have to join 2nd line into firstline and 4th line into 2nd line and so on..
for this we also consider odd no. of line.It's operate on original input file but output...
2,536
Posted By suryanarayan
Hi pravin, Pearl is not supported to my env.I...
Hi pravin,
Pearl is not supported to my env.I need shell script or i don't want to create any temp file.
thnaks for your reply.
2,536
Posted By suryanarayan
Hi birei, I have one config directory->*.cfg...
Hi birei,
I have one config directory->*.cfg files(under many .cfg files) and i have one temp input file like->configuration.cfg file,hold..
filename=monitor.cfg
sectionname=[PROCESS]
p1
p2...
2,536
Posted By suryanarayan
searching reverse in a file
HI all,
i have a file called monitor.cfg and have some sections,under these sections many parameter's are there.
like.....
MONITOR.CFG
[section1]
p1
p2
p3
#comments
#comments...
1,685
Posted By suryanarayan
HI DGPickett, This line of code simply...
HI DGPickett,
This line of code simply substitue the section to new parameter.
I nedd parameter should written at the end of section.

Thnaks
surya
1,685
Posted By suryanarayan
grep/sed query
Hi all,
I have one query,in my script,i give one input like sectionname that enclose with[] and that will search in specific file in specific directory.If found ,then it's search next [ or eof ,if...
Forum: Linux 01-27-2011
1,167
Posted By suryanarayan
issue on dynamic config script
I have one issue with my existing code.Actually i want to write parameter's at the end of the section not begin of section.please find my code snapshots...
while read cfgfilename sectionname...
4,017
Posted By suryanarayan
thanks for your codesnap,but it is not...
thanks for your codesnap,but it is not working,it's never enter case.

---------- Post updated at 06:20 AM ---------- Previous update was at 04:11 AM ----------



Hi frans;
Really nice...
4,017
Posted By suryanarayan
Hi rdcwayx; Actually i am expecting filename...
Hi rdcwayx;
Actually i am expecting filename first from input file and search in bin folder for that filename,if found,then expecting sectionname from input file and again search that section...
4,017
Posted By suryanarayan
Actually anchal in configure.cfg file,so many...
Actually anchal in configure.cfg file,so many filenames are there and under one filename so many sectionname's,and under each section so many parameter's.
4,017
Posted By suryanarayan
Help with dynamic configure cfg files
hi; i have one configuration file(configuration.cfg),where contents are below..
filename = charge.cfg
sectionname = [AUTORETRYTIMES]
networkid[1] = 1
retrytimes[1] = 2
-------------...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 02:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy