ããã£ã¦ãªãã åã¯è¨æ¶åããããããªãã®ã§ãawkã®ã³ãã³ããããã«ã¡ã¢ãã¦ããã¾ãã å¤æ°ã®åãæ±ã $0 = è¡å ¨ä½ $1 = 1åç® ã¨ããé ã«ç¶ãã #æ½åº ååã ãæå® cat data.txt | awk '{print $1, $2, $4}' > hogehoge.txt ##æ¡ä»¶ä»ã 第nåãm以ä¸ã®ã¨ããæ½åº n = 3, m = 10ã¨ããã cat data.txt | awk '$3 > 10 {print}' > hogehoge.txt #æ大å¤ã»æå°å¤ 第3åã«ãããä¾ã¨ãã¦ã æå¤§å¤ cat data.txt | awk '{if(m<$3) m=$3} END{print m}' æå°å¤ cat data.txt | awk 'BEGIN{m=100000}{if(m>$3) m=$3} END{print m}' éè¤ éè¤è¡ãåé¤ cat data
{{#tags}}- {{label}}
{{/tags}}