Search Results

Search: Posts Made By: Apollo
1,946
Posted By Apollo
thank you for this.. works perfectly. if...
thank you for this.. works perfectly.

if it's not much trouble, as the solution you have provided is pretty advance and would much appreciate if you can explain each line.
1,946
Posted By Apollo
HELP - uniq values per column
Hi All,

I am trying to output uniq values per column. see file below. can you please assist? Thank you in advance.



cat names
joe allen ibm
joe smith ibm
joe allen google
joe smith...
1,408
Posted By Apollo
The first column sort is working fine, however...
The first column sort is working fine, however it's not sorting properly on the second column.
1,408
Posted By Apollo
Help with Sorting numbers in a file
Hi Guys,

Would appreciate some help on sorting numbers on a file using the sort command. I have tried this and it's not sorting properly. what am i missing?

cat testing_sort
1:21
4:18
2:17...
2,318
Posted By Apollo
haha thanks man.. Do you mind to explain...
haha thanks man..

Do you mind to explain where did i go wrong with the actual reqular expression i have wrote? i would like to get your thoughts :)
2,318
Posted By Apollo
Help with Regular expression
Hi everyone,

ping www.google.com | awk 'BEGIN{FS="[\= ]+";}{if ($10 ~ (/^[0-9][0-9]$/) || (/^[0-9][0-9]\.[0-9]?/)) print "SLOW"; else print $0}

output
awk: warning: escape sequence `\='...
1,225
Posted By Apollo
Thank you!!!
Thank you!!!
1,225
Posted By Apollo
[Solved] Help understanding this code!!
Hi guys,

I am still learning awk and much apprecated to shed some light on the following: the questions asked is below!

{
total = i = 0
do {
++i
total += $i
} while ( total <= 100 )...
5,054
Posted By Apollo
[Solved] How to debug awk script?
how can i view what variables are stored upon the excution of an awk script.

something equivalent to shell eg. sh -vx "script_file"


many thanks in advance!
3,409
Posted By Apollo
Target string with gsub
Hey guys,

I am learning awk and came across gsub and testing the target string to do substitution, what am i missing? Thanks in advance.

echo "this is a summer" | awk '{gsub(/er/, "x",...
916
Posted By Apollo
awk Programming references
Hi all,

I am new and I am very interested in Awk programming language and would like to know what references or books that really worked for you that was clear, concise with simple examples.
...
Showing results 1 to 11 of 11

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