cat before.txt | sed -e 's/before/after/gi' sed -e 's/before/after/gi' begore.txt beforeãafterã«å¤æãgã¯å ¨é¨å¤æãiã¯å¤§æåå°æåç¡è¦ã-e ã¯ããã¤ã§ãç¹ããããã ãããããæååã®å©ç¨ beforeã®é¨åã§ã\(ã¨\)ã§ãããã¨ãafterã®é¨åã§\1ã§åãåºãããbeforeã§è¤æ°\(\)ã使ãã¨ãafterã§\2\3\4ãªæãã§åãåºããã ã¤ã¾ã ãããªæããä¾ãããã¾ã¤ãªã®ã¯æ°ã«ããªãã ã¯ã¾ã£ãã¨ãã +è¨å· sedã§ã¯+ã§ã¯ãªã\+ã¨ããªãã¨ãç´åã®æå1å以ä¸ã®æå³ã§ä½¿ããªãã ä»ã«ãããã¯ã¹ã©ãã·ã¥ãå¿ è¦ãªã¡ã¿æåãå¤ãã åèï¼æ£è¦è¡¨ç¾ã¡ã¢ [追è¨] æå ã®Macã®BSDã®sedã ã¨\+ã§ã¡ã¿æåã¨ãã¦åãã¦ãããªãã£ããã¿ããªGNUã®sed使ãã°ããã¨æãã æçä¸è´ã¨
{{#tags}}- {{label}}
{{/tags}}