æ¬ããã°åã®Linuxããã ãã¡ã¤ã«ã®ç¹å®ã®æååãç½®æãããã¨ããããããã¾ãã EmacsãªããM-x replace-stringã§æ¸ãã®ã§ãããè¤æ°ãã¡ã¤ã«ã«ä¸æ°ã«ç½®æãããããã¨ã㯠Emacsã ã¨ããã©ãããã§ã¯ã©ãããã®ããã¨èãã¾ããã çµè« shellã§ä»¥ä¸ã®ã³ãã³ããå®è¡ã find ãã¡ã¤ã«å | xargs sed -i "s/ç½®æå/ç½®æå¾/g" ããã¡ã¤ã«åãã¯ãfile-rev1.txtãfile-rev2.txtã¨ããªãfile-rev*.txtãªã©ã§è¤æ°é¸æãã¾ãã sedã¯æååç½®æã®ã³ãã³ãã«ãªãã¾ãã sed -iã®ãªãã·ã§ã³ä»ãã§ãã¨ããã¡ã¤ã«ã®æååãç´æ¥æ¸ãæãã¾ãããªããããªãã¨ãè¨ããã¨ããã¨ã sedã¯é常ã ã¨æ¨æºåºåã«åºåããã¦ããã¡ã¤ã«èªä½ãããããªããããªã®ã§ãã find ãã£ã¬ã¯ããªå -type fã®å½¢ã§ã-type fã®ãª
{{#tags}}- {{label}}
{{/tags}}