Search Results

Search: Posts Made By: usustarr
Forum: Programming 12-02-2010
10,127
Posted By usustarr
Here is the code, I finally managed to copy it....
Here is the code, I finally managed to copy it. Creating fork and killing children all that works perfect in this. My issue is, bool return value from WaitForScmi2(waitForScmiTimeLimit), gets lost. I...
Forum: Programming 12-02-2010
10,127
Posted By usustarr
getting the return from forked child process to parent in C++
This needs to work on HPUX and Linux.

I do a fork and create a child process. During execution of the child process, it is possible child become lost or get killed. That is the reason why I...
Forum: Linux 06-04-2010
2,553
Posted By usustarr
i tried that, still it doesnt put the title i...
i tried that, still it doesnt put the title i want. i am using Ubuntu 8.04, i dont know if i need to change anything or download anything.
Forum: Linux 06-03-2010
2,553
Posted By usustarr
how to insert a title into a window in kshell
hi all,

i am using a Ubuntu work station. i have following piece of code that works ok. But i cant figure out a way to insert a string call $Name into the title of the window i am opening. As you...
Forum: Programming 05-28-2010
1,863
Posted By usustarr
how to change Editor in perl
i have following code that runs fine on my Ubuntu workstation. However when i run this on a HPUX it wont open the text file i am trying to open for editing. I figured i just have to change gvim...
Forum: Programming 05-18-2010
1,909
Posted By usustarr
how to write a sub in Perl
hi, i am a really new to Perl. i have a following code that is working well.

"

i know this is really simple, but i cant figure out a way to do this. can someone help me please?:(
Forum: Programming 05-14-2010
9,163
Posted By usustarr
u are a god, thanks ---------- Post updated...
u are a god, thanks

---------- Post updated at 04:07 PM ---------- Previous update was at 02:46 PM ----------

so if i want to change,
io('write','/home/run/test.log',\ $string);
to ...
Forum: Programming 05-14-2010
9,163
Posted By usustarr
How to write a new line to the end of the file in Perl?
i am very new to Perl. i am using Ubuntu. i have a string call $string that contains following words "new line". i also have a data file as follows.

djfibjbet
etitrbjijbtr rrge rgjierjegjeri...
6,121
Posted By usustarr
it is odd. if i send u the data file, do u have a...
it is odd. if i send u the data file, do u have a second to run this?
6,121
Posted By usustarr
Acctually, it didnt do any difference. ...
Acctually, it didnt do any difference.


my data fine looks like this,
#gfbdnjbdn rfgrfgr
#
#vdfdg erergerg

srgr345 VVDRG56F
455jgg DFERTGvF
.
.
rgbb45 SDFVDDGGB
6,121
Posted By usustarr
i have following Kshell code. It is working...
i have following Kshell code. It is working almost perfect. Only issue is, when it writes in to the array, it start with location 1, instead of location 0. for example it will load the array as...
6,121
Posted By usustarr
i am tring to add values in to my original...
i am tring to add values in to my original string. i was doing

name="$name $new_variable"

but that cause me to print my string as follows,
name=
wfhugh344
djfv343444
.
.
.
uferjt23 ...
6,121
Posted By usustarr
Thanks guys, i will try that.
Thanks guys, i will try that.
6,021
Posted By usustarr
that is what i did. only issue is this comman...
that is what i did. only issue is this comman sets up a string like this,
ignore=dgdb234
dbdjjn3434
3434jfgfn
gnjot4545



but i want it to be as follows,
ignore=dhnno334 ergujnd34...
6,121
Posted By usustarr
reading a .dat file in to a string
i have folowing code.

i dont want data in an array. i like to put my data file info (after filtering and converting to lower case) in to a string call "name". so it would look like this,

name=...
6,021
Posted By usustarr
so this file path is to termReport.pl or is this...
so this file path is to termReport.pl or is this to globallyIgnoredTc.dat?

Array ignore reads from globallyIgnoredTc.dat. So what exactly does this new script do?

---------- Post updated...
6,021
Posted By usustarr
yes, that is what i want to do. i am little...
yes, that is what i want to do. i am little confused about where this new script needs to be and what exactly i need in that script. Could you please helpe me with this? Did you mean i should write a...
6,021
Posted By usustarr
array "ignore" reads a data file. data file only...
array "ignore" reads a data file. data file only has a one field and i verfied that ignore arrray loads with correct info as follows.
ignore[0]=erf45
ignore[1]=34fgh
.
.
ignore[n]=rtghf

$2...
6,021
Posted By usustarr
$2 is comming from termReport.pl out put. it is...
$2 is comming from termReport.pl out put. it is the 2nd field.
6,021
Posted By usustarr
i dont get any errors now. but it is not doing...
i dont get any errors now. but it is not doing what it supposed to do. it seems like it never finds a match when comparing $2 to the array. in reality, there are matches and it should find it.
...
6,021
Posted By usustarr
i dont think i understood that correctly. Please...
i dont think i understood that correctly. Please check my code to see if this is what you meant. by the way, thank you very much for helping me. i was out of options.

...
3,794
Posted By usustarr
printing array elements inside AWK
i just want to dump my array and see if it contains the values i am expecting. It should print as follows,
ignore[0]=345fht
ignore[1]=rthfg56
.
.
.
ignore[n]=49568g

Here is the code. Is...
6,021
Posted By usustarr
Are you asking about SCID_FM_AL ? that is not...
Are you asking about SCID_FM_AL ? that is not even in this script. i am not sure how big that is. Here is the code.



---------- Post updated at 04:18 PM ---------- Previous update was at 04:05...
6,021
Posted By usustarr
That cause data limitation issue. Here is what i...
That cause data limitation issue. Here is what i see.
6,021
Posted By usustarr
i think the issue is i am already in a awk...
i think the issue is i am already in a awk script, so it doesnt like me putting another awk, dont you think?
Showing results 1 to 25 of 45

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