{"height":"190","blog_url":"https://kiririmode.hatenablog.jp/","url":"https://kiririmode.hatenablog.jp/entry/20210226/1614351599","published":"2021-02-26 23:59:59","author_url":"https://blog.hatena.ne.jp/kiririmode/","blog_title":"\u7406\u7cfb\u5b66\u751f\u65e5\u8a18","title":"grep\u3067\u306f\u56f0\u96e3\u306a\u3001\u7279\u5b9a\u6587\u5b57\u5217\u306e\u5b58\u5728\u884c\u304b\u3089\u5225\u306e\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u884c\u307e\u3067\u306e\u62bd\u51fa  (Perl\u306eflip-flop\u6f14\u7b97\u5b50\u306e\u4f7f\u3044\u65b9)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkiririmode.hatenablog.jp%2Fentry%2F20210226%2F1614351599\" title=\"grep\u3067\u306f\u56f0\u96e3\u306a\u3001\u7279\u5b9a\u6587\u5b57\u5217\u306e\u5b58\u5728\u884c\u304b\u3089\u5225\u306e\u6587\u5b57\u5217\u304c\u5b58\u5728\u3059\u308b\u884c\u307e\u3067\u306e\u62bd\u51fa  (Perl\u306eflip-flop\u6f14\u7b97\u5b50\u306e\u4f7f\u3044\u65b9) - \u7406\u7cfb\u5b66\u751f\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u7279\u5b9a\u306e\u6587\u5b57\u5217\u304c\u3042\u308b\u884c\u304b\u3089\u3001\u5225\u306e\u7279\u5b9a\u306e\u6587\u5b57\u5217\u304c\u3042\u308b\u884c\u307e\u3067\u3092\u62bd\u51fa\u3057\u305f\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002 \u3053\u308cgrep\u7b49\u3092\u4f7f\u3046\u3068\u82e6\u52b4\u3059\u308b\u8a71\u306a\u3093\u3067\u3059\u304c\u3001flip-flop\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u305fPerl\u306eone-liner\u3067\u53ef\u80fd\u3067\u3059\u3002 \u4f8b\u3048\u3070\u6628\u65e5\u306e\u8a18\u4e8b\u3067\u306fgit help commit\u306e\u4e2d\u304b\u3089--no-edit/\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u8aac\u660e\u3092\u62bd\u51fa\u3057\u307e\u3057\u305f\u3002 \u3053\u308c\u306f--no-edit\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u51fa\u3066\u304f\u308b\u3068\u3053\u308d\u304b\u3089\u7a7a\u884c\u307e\u3067\u3092\u62bd\u51fa\u3059\u308c\u3070\u826f\u3044\u3002\u3053\u308c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u53ef\u80fd\u3067\u3059\u3002 $ git help commit | perl -nle 'print if /--no-edit/ ... /^\\s*$/' \u89e3\u8aac\u81ea\u4f53\u306b\u7a7a\u884c\u304c\u6df7\u3058\u308b\u30b1\u30fc\u30b9\u2026","width":"100%","provider_name":"Hatena Blog","author_name":"kiririmode","image_url":null,"provider_url":"https://hatena.blog","version":"1.0","categories":["perl"],"type":"rich"}