From e81f4ab7deeb40308f240be5ea00091fc8786d7a Mon Sep 17 00:00:00 2001 From: AnastasiaSulyagina Date: Thu, 18 Aug 2016 22:11:42 +0300 Subject: init --- .../Homebrew/cask/developer/examples/brewcask-showargs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 Library/Homebrew/cask/developer/examples/brewcask-showargs (limited to 'Library/Homebrew/cask/developer/examples/brewcask-showargs') diff --git a/Library/Homebrew/cask/developer/examples/brewcask-showargs b/Library/Homebrew/cask/developer/examples/brewcask-showargs new file mode 100755 index 000000000..9f9d06dcb --- /dev/null +++ b/Library/Homebrew/cask/developer/examples/brewcask-showargs @@ -0,0 +1,16 @@ +#!/bin/bash +# +# brewcask-showargs +# +# A trivial `brew cask` external command, implemented in bash. +# Displays the arguments passed to it. Example usage: +# +# brew cask showargs these were my args +# + +set -e; # exit on uncaught error +set +o histexpand; # don't expand history expressions + +echo "$@"; + +# -- cgit v1.2.3