Search Results

Search: Posts Made By: dikesm
4,753
Posted By Chubler_XL
You could try something like this, not they after...
You could try something like this, not they after finding a watch file you should probably delete or move it aside to stop actions repeating on every check:

function load_conf
{
POS=0
while...
4,753
Posted By Corona688
What do a.sh, b.sh, c.sh, d.sh, e.sh do? ...
What do a.sh, b.sh, c.sh, d.sh, e.sh do?

What should happen to the input file after the scripts complete?

These config files sound quite similar to makefiles, or could be made so.
2,969
Posted By Corona688
I'm presuming by 'engine', he means 'program that...
I'm presuming by 'engine', he means 'program that uses regexes', not 'program that implements regexes'.

awk or perl would both be good languages for this.
2,969
Posted By balajesuri
Why do you want to re-invent the wheel? Perl has...
Why do you want to re-invent the wheel? Perl has a very powerful regex engine. You may use Perl.
10,225
Posted By rdcwayx
Init the input file: $ cat infile 1,mnq,1...
Init the input file:

$ cat infile
1,mnq,1
1,ddd,2
1,ddd,3
1,sss,4
1,ddd,5
1,add,6
1,fff,7
1,ddr,8
1,rrd,9
1,der,10
2,mnq,11
3,pqr,12
4,pqr,13
5,pqr,14
12,adhe,0
13,add,1
10,225
Posted By joeyg
How come your file-in and file-out do not match? ...
How come your file-in and file-out do not match?
Your sample file has five sample lines, but three of them do not show up in your output. But, there are many lines in the output that are not in the...
10,225
Posted By DGPickett
Well, fields 1 and 2 are preserved, save fields...
Well, fields 1 and 2 are preserved, save fields of each record out for interrogation with the next, and if last matches for 1 and 2, discard 3 and use old 3.
Showing results 1 to 7 of 7

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