From f489ef3f81889748a91c0f01562095952b4296e4 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 27 May 2021 10:27:57 +0200 Subject: Add a license header to 'open' --- .local/bin/open | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.local/bin/open b/.local/bin/open index a668bc3..068af10 100755 --- a/.local/bin/open +++ b/.local/bin/open @@ -1,5 +1,20 @@ #!/usr/bin/env raku +# open +# Copyright (C) 2021 Patrick "tyil" SPek +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License, version 3, as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + use URL; subset HttpUrl of URL where *.scheme ∈ < http https >; @@ -32,7 +47,7 @@ sub objectify-target ( IO::Path.new($target); } -#| The cmd sub returns an iterable containing the command and all arguments. +#| The cmd sub returns a Str to be executed in a shell context. proto cmd ($ --> Str) { * } # -- cgit v1.1