I have to count the number of values that are between 0 and 0.05 in column 11 of a dataset. How do I go about doing this?
Add a comment |
1 Answer 1
With awk:
awk '($11>0 && $11<0.05){ ++count } END{ print count }' file You must log in to answer this question.
- The Overflow Blog
-
- Featured on Meta
-
-
Related
Hot Network Questions
- Is there some kind of cultural reference behind the SNL "Norwegian Movie" skit?
- Condensation of water droplets on one side of a bottle!
- Fish-wielding man drowns and his enemy leaves town
- constexpr self-referencing struct
- How to get cash (in Bangkok) with no bank card or passport
- Magic item feedback: Karmic Ring
- How do we decide whether a vibration of a solid object is longitudinal or transverse, when the object is not a 1D rod or 1D string?
- How to make a long cases equation more compact and clearer?
- Choosing Capacitor for Buck Converter
- Does this characterize the product topology?
- Why optional studs on MTB shoes?
- Complete the integer sequence: 10, 11, 12, 13, 14, 20, ?, ?, ?, ?
- Do customizable blank-slate protagonists limit the narrative potential of action RPGs?
- Can you prove equality of two expressions by setting them equal in an equation?
- Bash script for manually cleaning up the Traefik access log file and limiting it to a maximum of 50 MB
- Is a proper wire nut connection possible if wires don’t twist?
- Was the spittle and mud in John 9:6-7, symbolic, a catalyst to faith, or a required act of obedience?
- Minkowski sum of finite ellipses
- When doing a CASSCF calculation, why do we rotate by 90 degrees rather than by a different amount?
- Does India enforce 6 months passport validity for Indian citizens leaving
- In places south of the Equator (South America, Africa) their winter is our summer. Why don't they say V'ten tal u'mater l'bracha?
- After a "zzzzz" buzz, why black screen & no white power indicator light on 4-year-old Dell P2222H monitor?
- Can a chocolate bar contain alcohol naturally?
- Creating a spiral