Search Results

Search: Posts Made By: dbrundrett
8,771
Posted By dbrundrett
Thank you kind sir...that's exactly what I'm...
Thank you kind sir...that's exactly what I'm looking for

Cheers
8,771
Posted By dbrundrett
awk - comparing files
I've been trying to use awk to compare two files that have pretty much the same data in apart from certain lines where in one file a fields value has changed. I want to print the line from the first...
4,434
Posted By dbrundrett
zazzybob & vgersh99 Thank you very much for...
zazzybob & vgersh99

Thank you very much for the information

Cheers
4,434
Posted By dbrundrett
Hi vgersh99 Could you explain to me what the...
Hi vgersh99

Could you explain to me what the bit of awk code is doing I understand it's getting the even numbered line, but I'm not so sure about the other bits of this line '!(FNR%2) ? "\n" :...
9,507
Posted By dbrundrett
Thanks Ygor
Thanks Ygor
9,507
Posted By dbrundrett
Ygor, In your code you have the line 'while...
Ygor,
In your code you have the line 'while (getline < "val_id.txt" > 0)', what is the '> 0'. Is this redirection or relational operator?

Thanks in advance
37,558
Posted By dbrundrett
Thanks BZ. Am I right in thinking that if the...
Thanks BZ. Am I right in thinking that if the process has 254 in the C column and is in a state of sleep, that it is no longer running but in a continual loop or a process it's relying on has died?
...
37,558
Posted By dbrundrett
Output of ps -ef command
Can someone tell me the meaning of the column 'C' contained in the output of the ps -ef command?

UID PID PPID C STIME TTY TIME COMMAND

I was once told that if the value was...
4,221
Posted By dbrundrett
Thanks for your replies. I have some other...
Thanks for your replies.

I have some other questions:

Can sed read and write to the same file?

Or would I have to redirect the output to another file and then rename it back to its original...
4,221
Posted By dbrundrett
sed commands
I have a configuration file that when a certain script runs in updates. I want to use sed and can't seem to get the syntax right.

A line from the configuration file looks like:
DATE=20040909...
2,415
Posted By dbrundrett
I really appreciate your answer and the detail...
I really appreciate your answer and the detail you have provided. The situation now becomes very clear and I believe that the program is buggy as you pointed out.

Thanks again.
2,415
Posted By dbrundrett
Program/ Memory Problems
I need some advise.

I have an application server running several applications. When I try and start a particular application when the others are running I receive the following. This is appearing...
8,796
Posted By dbrundrett
Thanks for your reply
Thanks for your reply
8,796
Posted By dbrundrett
Using TRAP command
I'm using the trap command to capture any signals received whilst my script is running.

How's the best way of writing the signal and any other error messages to a file/error log' without having...
62,428
Posted By dbrundrett
Thanks a lot for your help with this.
Thanks a lot for your help with this.
62,428
Posted By dbrundrett
Can I ask you to tell me what each bit of this...
Can I ask you to tell me what each bit of this assignment does...
lastchr=${a#${a%?}}

What does 'a#' and 'a%?' do...

Thanks a lot
62,428
Posted By dbrundrett
Appreciate your help
Appreciate your help
62,428
Posted By dbrundrett
Testing the last character in a string
Hi
In the shell scripted I'm trying to write!

I would like to test the last character in a string. The string is a path/directory and I want to see if the last character is a '/'.

The string...
2,450
Posted By dbrundrett
Thanks very much Your help is really...
Thanks very much

Your help is really appreciated
2,450
Posted By dbrundrett
How to test if a variable is in the right format
How can I test a variable to see if its in the right format?

The format for the variable would be 'DDMMYYYY HH:MM:SS' and is passed from a command line argument.

Any help would be appreciated
36,704
Posted By dbrundrett
Cheers guys Thanks for yoru help
Cheers guys

Thanks for yoru help
36,704
Posted By dbrundrett
AWK print a character many times
How can I print a '-' on the same line within awk, say 50 times, without actually typing '-' 50 times?

Cheers
5,338
Posted By dbrundrett
Thanks for all your replies they are really useful
Thanks for all your replies they are really useful
5,338
Posted By dbrundrett
Is there anything similiar?
Is there anything similiar?
5,338
Posted By dbrundrett
Process ID's in HP-UX
Hi
I know on a SUN-OS system when a process gets executed a folder is created under the /proc directory whilst the process is still active, and then is removed when the process has finished.

What...
Showing results 1 to 25 of 60

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