Search Results

Search: Posts Made By: DeCoTwc
1,077
Posted By ahamed101
Guess you are missing the curly braces in the END...
Guess you are missing the curly braces in the END block for for loop


...
END{
for (X in DT) {
#print...
1,137
Posted By Yoda
You can use profiling gawk to pretty print your...
You can use profiling gawk to pretty print your awk program. Check the gawk manual for more details:
man gawk
I added few lines to your code to generate desired output, make any adjustments if...
1,137
Posted By Corona688
That's only a 'one-liner' because the line...
That's only a 'one-liner' because the line refuses to wrap in code tags ;) Better to break it where it matters and see what you're doing. I like two liners, three liners.

I have no idea where...
5,480
Posted By Chubler_XL
In you example above the kill command should have...
In you example above the kill command should have been:

kill -- -13507

Notice how I have placed a hyphen in front of the process ID
3,939
Posted By alister
There is no 26 there when the brace expansion is...
There is no 26 there when the brace expansion is attempted. The 1 and the literal string "$CAP" are an invalid sequence expression at that stage.

---------- Post updated at 07:20 PM ----------...
1,944
Posted By methyl
I don't know what timezone you are in but this is...
I don't know what timezone you are in but this is going to loop for ever:

until [[ "$DATE" == "$TDATE" ]]; do
sleep 1800
done


BTW. Many thanks for posting the...
5,810
Posted By jim mcnamara
awk -F\= '/Asset could not be deleted because it...
awk -F\= '/Asset could not be deleted because it does not exist: asset_id=/ {print $2}' manager.log > patternfile

grep -F -f patternfile [file I want to search]


-F turns regexp expansion off
Showing results 1 to 7 of 7

 

Featured Tech Videos

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