From 004208d9b41b9dfa9b107e753cfd9303dbe00812 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 21 Mar 2022 22:59:50 +0300 Subject: shell: output is optional --- _posts/2022-03-21-shell.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to '_posts') diff --git a/_posts/2022-03-21-shell.md b/_posts/2022-03-21-shell.md index 1f8f56a..02b977d 100644 --- a/_posts/2022-03-21-shell.md +++ b/_posts/2022-03-21-shell.md @@ -50,3 +50,8 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA {% include shell.html cmd=cmd1 out=out1 %} This is ugly though, so please don't do that. + +Commands don't necessarily have to have output: + +{% include shell.html cmd='mkdir test' %} +{% include shell.html cmd='cd test' %} -- cgit v1.2.3