きゃー置換よー!
■シェルスクリプトの source
ファイルを本体に埋め込むだけのスクリプト
https://github.com/Qithub-BOT/OlioSource @ GitHub
シェルスクリプトで . /path/to/hoge.sh
や source /path/to/hoge.sh
といった、外部ファイルを参照させて開発している場合、
スクリプトを配布する時に不便なので、それらの外部ファイルを埋め込んで 1 つのファイルにしたかった。
ありそうで意外になかったので、source
を置換して 1 つにごった煮(olio
)にするスクリプト作った。
#POSIX #Bash #ShellScript #MerfeSourcedFiles
GitHub - Qithub-BOT/OlioSource: ✅ A simple shell script that merges "sourced" shell scripts as a single script for distribution.
2021-07-12 22:06:39 せぶん님의 게시물
7of9@qiitadon.com
This account is not set to public on notestock.
2021-07-12 22:05:52 ひだお(本日17:00サ終)님의 게시물
hidao@qiitadon.com
This account is not set to public on notestock.
2021-07-12 22:05:30 せぶん님의 게시물
7of9@qiitadon.com
This account is not set to public on notestock.
2021-07-12 22:05:22 きいかわ님의 게시물
ycv57u6y@qiitadon.com
This account is not set to public on notestock.
2021-07-12 22:04:34 せぶん님의 게시물
7of9@qiitadon.com
This account is not set to public on notestock.
2021-07-12 22:04:13 ひだお(本日17:00サ終)님의 게시물
hidao@qiitadon.com
This account is not set to public on notestock.