you're counting Ns as legit fields while they should be skipped
there's no provision to print lines with more than 2 unique field values
'delete a' doesn't work on all awk-s. Most awk's don't allow deleting the whole array that way, but only individual array entries. Therefore, the trick is to use 'split' to null-out the array in one step.
There is one more filter that needs to be considered.
I want to treat any character other than A,C,G,T,N as a missing value N.
In the example, the character Y is treated as if it was a missing value N since it
does not belong to the subset {A,C,G,T,N}.
For example the row
needs to be treated the same as
But if such a row appears in the output it should appear as ---------- Post updated at 06:02 PM ---------- Previous update was at 05:57 PM ----------
I have done a small modification
Doesnt seem to work. please help me with the correct code?
Hi friends, Please let me know if there is any way to find out Major and Minor numbers of virtual file system like below:
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K ... (8 Replies)
Hi,
I have line like this :
proj_name/module/trunk/module_1_0
where the first "1" refers to major version and second "0" refers to minor version.
any AWK or command like that so that I can filter out the major and minor ?
like major= command | input line
minor= command |... (4 Replies)
Good evening ...
does anyone of you know how to change major/minor numbers of disk devices ?
I had to migrate from raid1 to raid5 and this messed up my ASM cluster - I know which devices should have which IDs to match the content - but I have no idea how to change it.
Any help would be... (2 Replies)
would like to order this input based on major.minor.release AND build number
Label abc_def_0.0.3_build_999 2008/08/01 'Created by me.'
Label abc_def_0.0.9_build_1000 2008/08/01 'Created by me.'
Label abc_def_9.0.9_build_10001 2008/08/01 'Created by me.'
Label abc_def_10.9.100_build_2... (4 Replies)
Hi
Can anyone tell me what is major number and minor number in the mknod command. Also what these numbers mean.
I have gone through the man pages but still I couldn't understand.
Regards (3 Replies)
To further my fledgling knowledge of C, I am re-writing some of the Unix command set. My current command is an ls-style command.
All works well, except for device files. How do I get the major/minor numbers for the dev files?
I see from the stat struct there are st_rdev and st_dev members. Do... (1 Reply)