Search Results

Search: Posts Made By: linuxUser_
17,332
Posted By linuxUser_
Dear fpmurphy, Thanks for the reply. Here is...
Dear fpmurphy,

Thanks for the reply. Here is the output of lsb_release

LSB Version: ...
17,332
Posted By linuxUser_
Undefined reference to memcpy@GLIBC_2.14
Dear All,

I am trying to compile OpenFOAM-1.7.x in RHEL. I could not able to compile some of the applications because of libc version issues.
It is saying
undefined reference to...
4,713
Posted By linuxUser_
Dear All, Problem solved :) Thanks a lot...
Dear All,

Problem solved :)
Thanks a lot for help.

Regards,
linuxUser_
4,713
Posted By linuxUser_
now I am able to sed, Thanks a lot. I have...
now I am able to sed, Thanks a lot.
I have another issue.
content of my file:

al 62987al 1 g 0300.00 5000.00 0600.00 1
0.02559589e+02-0.01063224e-02...
4,713
Posted By linuxUser_
Echo printing a line in 2 lines; expected to print in one line
Dear All,

fileName: therm.txt

nc3h7o2h 7/27/98 thermc 3h 8o 2 0g 300.000 5000.000 1390.000 41
1.47017550e+01 1.71731699e-02-5.91205329e-06 9.21842570e-10-5.36438880e-14 2...
27,480
Posted By linuxUser_
Ok. I actually wanted something like this. as...
Ok. I actually wanted something like this.
as each dictName will have seperate planeName and field names,
I taught if we can create a class like dictName and variables planeName and fields, it will...
27,480
Posted By linuxUser_
Well, How can I access to p U T separately?
Well, How can I access to p U T separately?
27,480
Posted By linuxUser_
Code: . <(awk '/^ *functions */ ...
Code:

. <(awk '/^ *functions */ {Func=1; next}
Func {CNT=CNT+gsub(/{/,"")-gsub(/}/,""); if (CNT==1 && !/^ *$/) print "dictname[" ++dc "]="$0}
...
27,480
Posted By linuxUser_
code: awk '/^ *functions */ {F=1;...
code:
awk '/^ *functions */ {F=1; next}
F {CNT=CNT+gsub(/{/,"")-gsub(/}/,""); if (CNT==1 && !/^ *$/) print "dictname[" ++dc "]=" $0}
/fields/ ...
27,480
Posted By linuxUser_
See comment number 27. I ended up with that...
See comment number 27. I ended up with that error. :(
27,480
Posted By linuxUser_
How can I separate them out?
How can I separate them out?
27,480
Posted By linuxUser_
Lets end this misinterpretation. Sorry Aia and...
Lets end this misinterpretation.
Sorry Aia and thanks a lot to all the people who tried to help me. especially RudiC, Aia and Corona.


:) :b:

Thanks & Regards,
linuxUser_

----------...
27,480
Posted By linuxUser_
Code: . <(awk '/^ *functions */ {F=1;...
Code:
. <(awk '/^ *functions */ {F=1; next}
F {CNT=CNT+gsub(/{/,"")-gsub(/}/,""); if (CNT==1 && !/^ *$/) print "dictname[" ++dc "]=" $0}
/fields/ ...
27,480
Posted By linuxUser_
Have you gone through complete thread? If so,...
Have you gone through complete thread?
If so, what you didn't understand?
by the way its bash script.

Thanks & Regards,
linuxUser_

---------- Post updated at 09:48 AM ---------- Previous...
27,480
Posted By linuxUser_
in this case pwd is not working. I want to give...
in this case pwd is not working.
I want to give file name with current directory path :(
what to do?
27,480
Posted By linuxUser_
OMG... I see lot more stuffs to understand to...
OMG... I see lot more stuffs to understand to finish this job :(

Can you give me a example storing a variable like this

declare -a dictName
j=0
while(some condition that satisfies my...
27,480
Posted By linuxUser_
#!/bin/bash declare -a dictName; declare -a...
#!/bin/bash
declare -a dictName;
declare -a planeName;
declare -a fieldName;
dCount=0;
pCount=0;
fCount=0;

awk '/^ *functions */ {F=1; next}
F ...
27,480
Posted By linuxUser_
one more issue: fields have no limit. I...
one more issue:

fields have no limit.
I mean lets say in dict1 fields are p, U
in dict2 may be T will be the field

all I mean to say is, Instead of saving field names as continuous string,...
27,480
Posted By linuxUser_
thanks a lot... its working fine up to this :) ...
thanks a lot... its working fine up to this :)

I want to add one more limiter to avoid any other entities with {} as current script search for strings inside {}.
Ideal condition is functions{...
27,480
Posted By linuxUser_
you mean to say D is not belongs to it???? ...
you mean to say D is not belongs to it????
sorry please add A-Z as well
27,480
Posted By linuxUser_
It must be a continuous string contains a-z and...
It must be a continuous string contains a-z and 0-9, else application will not work :-|

typical names as follows,
sampleData1
dataForPlane1
etc..,
27,480
Posted By linuxUser_
in functions{}, there will be many sub-dicts. ...
in functions{}, there will be many sub-dicts.
one of them is

planeDictName
{
type surfaces;
functionObjectLibs ( "libsampling.so" );
...
27,480
Posted By linuxUser_
Yes, gcc
Yes, gcc
27,480
Posted By linuxUser_
too tough question. :( I don't see any...
too tough question. :(
I don't see any condition to read the parameters in this format except functions :-o.
There is no rule to provide it like this
functions { planeDictName {
it can...
27,480
Posted By linuxUser_
Need help with sed/awk command
Dear all,

I have a file named as fileName with following entities,
functions
{
planeDictName
{
type surfaces;
functionObjectLibs ( "libsampling.so" );
...
Showing results 1 to 25 of 92

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