Kaydet (Commit) b0c8fe62 authored tarafından Adınız's avatar Adınız

stdin support

üst 5b5de22a
......@@ -10,7 +10,7 @@ done
for mod in $(ls $MODDIR) ; do
source $MODDIR/$mod
done
if [ -f "$1" ] ; then
if [ -f "$1" ] || [ "$#" == "0" ] ; then
source <(cat $1)
elif echo "$1" | grep "^.*://" &>/dev/null ; then
source <(curl $1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment