Search Results

Search: Posts Made By: exit86
2,993
Posted By exit86
Thanks! your guys rock!!
Thanks! your guys rock!!
2,993
Posted By exit86
Thanks vgersh99 for your reply. I was able to fix...
Thanks vgersh99 for your reply. I was able to fix issue by using code below:


STR="0:0:1:2:0:1:0:0:2:2:1:1:0"
echo "$STR" | awk -F: '
{ for(N=1;N<=NF;N++) A[$N]++}
END { for(K in A) print...
2,993
Posted By exit86
Thanks a lot Corona688, I modified the...
Thanks a lot Corona688,

I modified the script you posted to fit my need and having a strange behavior.
The script below works fine on cygwin (on my windows) but when I run it on AIX box the...
2,993
Posted By exit86
It is AIX and I am using K shell.
It is AIX and I am using K shell.
2,993
Posted By exit86
counting occurrence of characters in a string
Hello,

I have a string like this 0:1:2:0:2:2:4:0:0:0:-200:500......

what i want is to break down how many different characters are there and their count. For example for above string it should...
Showing results 1 to 5 of 5

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