Search Results

Search: Posts Made By: HobieCoop
1,825
Posted By HobieCoop
egrep ^"[^0-9]+${PNUM}[^0-9]"...
egrep ^"[^0-9]+${PNUM}[^0-9]" /bb/data/firmexbytes.dta

First - ${PNUM} is just a variable that contains a string - any string.

So now, let's break down the egrep command chunk by chunk...
...
6,835
Posted By HobieCoop
The problem you are facing is the fact that IFS...
The problem you are facing is the fact that IFS (Input Field Seperator) is set equal to a space. Therefore everytime a space is encountered in the variable's contents, the FOR loop treats it as a...
1,616
Posted By HobieCoop
You could go with your original thought -...
You could go with your original thought - generate a file that has all the 10 minute intervals for the day. As you generate the file, grep your other existing files to pull out the lines that match...
2,420
Posted By HobieCoop
e_mikey_2000 - glad you could mangle my script...
e_mikey_2000 - glad you could mangle my script (a.k.a. well commented yet mad ramblings) to meet your needs. I figured there was an awk solution, though I must admit I am impressed with anbu23...
8,158
Posted By HobieCoop
SOLVED!!!
alister wins the prize (for being first with the solution...)


Changing parent.ksh allows QUIT to be trapped by the child process.
set -m
child.ksh &


Also - even without set -m, trapping...
8,158
Posted By HobieCoop
Interesting - the ps output still shows my id as...
Interesting - the ps output still shows my id as running this process - though the PPID is 1.

Let's assume that you're correct (which I am sure you are despite what I see in ps).

I need a way...
2,420
Posted By HobieCoop
so many ways to do this... #!/bin/ksh ##...
so many ways to do this...

#!/bin/ksh
## generate a list of unique ip addresses
for IP in $(ls -1 | cut -d"_" -f1 |cut -d"." -f2-5|sort -u)
do
## for each ip address, generate a list of...
8,158
Posted By HobieCoop
Trap not working in orphaned child processes
I've search the various posts in these forums, but have not come up with a solution to my problem.

I have a parent process that calls a child script, runs it in the background and the parent...
18,399
Posted By HobieCoop
And I appreciate it! Thanks for the help! :D
And I appreciate it! Thanks for the help! :D
18,399
Posted By HobieCoop
ok people, stop fighting over my question... ...
ok people, stop fighting over my question...

bakunin - I appologize. I did not "state" that the problem was in AIX, I merely tried to imply it by placing the question in the AIX Forum - and it...
Forum: AIX 03-06-2008
27,155
Posted By HobieCoop
You probably ran out of LP's... When a LV gets...
You probably ran out of LP's...
When a LV gets created/defined, it gets a "MAX LPs" value which represents the maximum number of logical partitions that can be defined for the LV.

Use smitty or...
18,399
Posted By HobieCoop
Originally posted in AIX Forum FOR A REASON!!!
Well, you can thank the forum administrator for all the confusion. I originally posted this question in the AIX FORUM since this behavior seemed to be specific to AIX.

I am using KSH shell...
18,399
Posted By HobieCoop
How to clear $1 when dot-running a script.
Here's my problem: the $1 parameter is getting permanently set when you dot-run a script - and I cannot unset it.

Here's how to duplicate the problem:

1) Create a script called testme and put...
Showing results 1 to 13 of 13

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