cos ä½å¼¦(ã³ãµã¤ã³)ãè¿ãé¢æ°ã§ãã number cos(number) exp ææ°ãè¿ãé¢æ°ã§ãã number exp(number) expé¢æ°ã®ä½¿ç¨ä¾ã以ä¸ã«ç¤ºãã $ cat naturalnumber.txt 1 2 3 4 5 $ awk '{print $1, exp($1)}' naturalnumber.txt 1 2.71828 2 7.38906 3 20.0855 4 54.5982 5 148.413 getline number getline() ç¾å ¥åãã¡ã¤ã«ã®æ¬¡ã®ã¬ã³ã¼ããçµã¿è¾¼ã¿å¤æ° $0 ã«è¨å®ãã¾ããgetline é¢æ°ã¯æ£å¸¸çµäºæã«ã¯1ãããã¡ã¤ã«ã®çµããã«éããã¨0ããã¨ã©ã¼çºçæã«ã¯-1ãè¿ãã¾ãã index number index(string, substring) æåå string ã®ä¸ã§æåå substring ãæ
{{#tags}}- {{label}}
{{/tags}}