以ä¸ã®ææ¸ã¯Bashã使ãåæã®è©±ã Bashã«ã¯ã³ãã³ãç½®æ(Command substitution)ã¨ããã®ãããã$(another-command)ã®ããã«ã$()ã§ã³ãã³ããæ¬ãè¨æ³ã ããããå©ç¨ããã¨ãæ¬å¼§ã§æ¬ãããã³ãã³ããå®è¡ããããã®æ¨æºåºåãæååã¨ãã¦åãåºããã$()å ¨ä½ãç½®ãæãããã·ã§ã«ã¹ã¯ãªããã§ã¯é常ã«ããè¦ãæè¡ã ã ãã®$()ã§ãã¡ã¤ã«ã®å 容ãèªã¿åºãã¨ããã®ãæè¿è¦ãããã®ãããªç¨æ³ã¯é常ã«ããè¦ãã foo-command $(cat params.txt) ããããããè¯ãæ¸ãæ¹ãããã®ã§ãããæå±ãããã$(< params.txt)ã¨æ¸ããã¨ã§å ¨ãåçã®ãã¨ãã§ããããããéãã®ã§ãã¡ãã®ã»ããå®å ¨ã«ä¸ä½äºæã¨ãªãã foo-command $(< params.txt) ãã®æ¹æ³ã¯Bashã®ããã¥ã¡ã³ãã®ã³ãã³ãç½®æã®ã³ã¼ãã¼ã«ã¡ããã¨æ¸ã
{{#tags}}- {{label}}
{{/tags}}