diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-06-06 10:29:56 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-06-06 11:09:08 +0200 |
commit | 41f8794886d8685d21e3fdc0cb62320d30e9b742 (patch) | |
tree | 06e643354fb37cb8be9a3dc62def30a8d4e79122 /nix-utils.sh | |
parent | c16b3350c7ea4920e44567d4b67bc8614a956f39 (diff) |
Add util: explain()
Diffstat (limited to 'nix-utils.sh')
-rw-r--r-- | nix-utils.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nix-utils.sh b/nix-utils.sh index 49b7b29..3ff20df 100644 --- a/nix-utils.sh +++ b/nix-utils.sh @@ -29,6 +29,11 @@ help_end() { echo "" } +explain() { + stdout "$*" + $* +} + grep_generation() { $* | grep current | cut -d " " -f 2 } |