options-parser (recode-3.7.4) | : | options-parser (recode-3.7.5) | ||
---|---|---|---|---|
#! /bin/sh | #! /bin/sh | |||
# A portable, pluggable option parser for Bourne shell. | # A portable, pluggable option parser for Bourne shell. | |||
# Written by Gary V. Vaughan, 2010 | # Written by Gary V. Vaughan, 2010 | |||
# This is free software. There is NO warranty; not even for | # This is free software. There is NO warranty; not even for | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
# | # | |||
# Copyright (C) 2010-2019 Bootstrap Authors | # Copyright (C) 2010-2017 Bootstrap Authors | |||
# | # | |||
# This file is dual licensed under the terms of the MIT license | # This file is dual licensed under the terms of the MIT license | |||
# <https://opensource.org/license/MIT>, and GPL version 3 or later | # <https://opensource.org/license/MIT>, and GPL version 3 or later | |||
# <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of | # <http://www.gnu.org/licenses/gpl-2.0.html>. You must apply one of | |||
# these licenses when using or redistributing this software or any of | # these licenses when using or redistributing this software or any of | |||
# the files within it. See the URLs above, or the file `LICENSE` | # the files within it. See the URLs above, or the file `LICENSE` | |||
# included in the Bootstrap distribution for the full license texts. | # included in the Bootstrap distribution for the full license texts. | |||
# Please report bugs or propose patches to: | # Please report bugs or propose patches to: | |||
# <https://github.com/gnulib-modules/bootstrap/issues> | # <https://github.com/gnulib-modules/bootstrap/issues> | |||
# Set a version string for this script. | # Set a version string for this script. | |||
scriptversion=2019-02-19.15; # UTC | scriptversion=2016-03-06.01; # UTC | |||
## ------ ## | ## ------ ## | |||
## Usage. ## | ## Usage. ## | |||
## ------ ## | ## ------ ## | |||
# This file is a library for parsing options in your shell scripts along | # This file is a library for parsing options in your shell scripts along | |||
# with assorted other useful supporting features that you can make use | # with assorted other useful supporting features that you can make use | |||
# of too. | # of too. | |||
# | # | |||
# For the simplest scripts you might need only: | # For the simplest scripts you might need only: | |||
skipping to change at line 658 | skipping to change at line 658 | |||
s|\(\n\)\n*|\1|g | s|\(\n\)\n*|\1|g | |||
p; q' < "$progpath" | p; q' < "$progpath" | |||
exit $? | exit $? | |||
} | } | |||
# Local variables: | # Local variables: | |||
# mode: shell-script | # mode: shell-script | |||
# sh-indentation: 2 | # sh-indentation: 2 | |||
# eval: (add-hook 'before-save-hook 'time-stamp) | # eval: (add-hook 'before-save-hook 'time-stamp) | |||
# time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC" | # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" | |||
# time-stamp-time-zone: "UTC" | # time-stamp-time-zone: "UTC" | |||
# End: | # End: | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |