X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=blobdiff_plain;f=sponge;fp=sponge;h=18d163c150ff94a60b36a1c5c50bcad984890bad;hp=c46bf9a8be0f05bbd9b3519bed69e32d061a2dab;hb=b543b440fd779cdc05342f6fa4516f2031a13818;hpb=b30d72d311d269ce75c942c990af37e63e11fba7 diff --git a/sponge b/sponge index c46bf9a..18d163c 100755 --- a/sponge +++ b/sponge @@ -1,6 +1,27 @@ #! /usr/bin/perl -w use strict; +# Copyright (C) 2003 Colin Watson . +# +# Permission is hereby granted, free of charge, to any person +# obtaining a copy of this software and associated documentation files +# (the "Software"), to deal in the Software without restriction, +# including without limitation the rights to use, copy, modify, merge, +# publish, distribute, sublicense, and/or sell copies of the Software, +# and to permit persons to whom the Software is furnished to do so, +# subject to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE +# FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + binmode STDIN; undef $/; my $input = ;