{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://coffee-guhaw.hateblo.jp/entry/2025/04/30/120000","blog_url":"https://coffee-guhaw.hateblo.jp/","published":"2025-04-30 12:00:00","width":"100%","version":"1.0","author_name":"coffee_kabu","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2025%2F04%2F30%2F120000\" title=\"\u3010awk\u3011\u6975\u5927\u6975\u5c0f\u3001\u6700\u5927\u5024\u3001\u6700\u5c0f\u5024\u3092\u6c42\u3081\u308b - Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0","height":"190","author_url":"https://blog.hatena.ne.jp/coffee_kabu/","description":"\u307e\u305a\u306f\u30c7\u30fc\u30bf\u751f\u6210 \u3053\u308c\u3082awk\u3067\u3084\u3063\u3066\u3057\u307e\u304a\u3046awk 'BEGIN{fs=10.0;for (i = 0; i < 10000; i++){t=i/fs; print t, sin(2*3.14*t*10)}}' > hoge.txt# \u3082\u3063\u3068\u6841\u6570\u304c\u6b32\u3057\u3044\u5834\u5408\u306f # \u3061\u306a\u307f\u306b\u5f8c\u8ff0\u306eawk\u30b3\u30de\u30f3\u30c9\u3092\u8d70\u3089\u305b\u3066\u304d\u3061\u3093\u3068\u7d50\u679c\u3092\u5f97\u308b\u305f\u3081\u306b\u306f\u6841\u6570\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u3053\u3063\u3061\u3067 awk 'BEGIN{fs=10.0;for (i = 0; i < 10000; i++){t=i/fs; printf \"%.10e %.10e\\n\", t, sin(2*3.14*t*10)}}' > hoge.txt \u3053\u306e\u30c7\u30fc\u30bf\u306e\u6700\u2026","categories":["\u30b7\u30a7\u30eb\u30b3\u30de\u30f3\u30c9/\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8","gnuplot"],"image_url":"https://c8.staticflickr.com/6/5572/31380604175_be7ce4f846.jpg","title":"\u3010awk\u3011\u6975\u5927\u6975\u5c0f\u3001\u6700\u5927\u5024\u3001\u6700\u5c0f\u5024\u3092\u6c42\u3081\u308b","type":"rich"}