[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH
From: |
Mike Bianchi |
Subject: |
Re: [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided |
Date: |
Fri, 10 Apr 2015 13:43:33 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Peter,
Thanks for looking into this.
The fundamental problem is I attempt to process both -a A and -aA without
using getopts .
Is getopts universal across sh/ksh/bash/zsh ?
If so, then I can repair this easily.
Mike
On Fri, Apr 10, 2015 at 11:17:29AM +0000, anonymous wrote:
> Follow-up Comment #2, bug #44768 (project groff):
>
> Greetings,
>
> sh -n .../gdiffmk test passed on Solaris 10 (X86_64) ;-)
>
> .../gdiffmk --version test passed
>
> .../gdiffmk --help test passed
>
> sh/ksh/bash/zsh .../gdiffmk -a A -c C -d D filename1 filename2
>
> All FAIL with "gdiffmk: Incorrect number of arguments."
>
> All shells show "+ test 6 -lt 2 -o 6 -gt 3"
> when a invoked with a -x argument to the shell
>
> I believe the "shift"s need to be changed to "shift 2", as the option value in
> the second argument, so two shifts are needed to all options taking an
> argument.
>
> Regards,
> Peter Bray
> Sydney, Australia
>
> _______________________________________________________
>
> Reply to this item at:
>
> <http://savannah.gnu.org/bugs/?44768>
>
> _______________________________________________
> Message sent via/by Savannah
> http://savannah.gnu.org/
--
Mike Bianchi
Foveal Systems
973 822-2085
address@hidden
http://www.AutoAuditorium.com
http://www.FovealMounts.com
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, anonymous, 2015/04/08
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Werner LEMBERG, 2015/04/10
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, anonymous, 2015/04/10
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Peter Bray, 2015/04/11
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Michael H Bianchi, 2015/04/12
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Werner LEMBERG, 2015/04/12
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Michael H Bianchi, 2015/04/12
- Re: [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Werner LEMBERG, 2015/04/12
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Peter Bray, 2015/04/12
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Werner LEMBERG, 2015/04/13
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Peter Bray, 2015/04/13
- [bug #44768] gdiffmk(1) is not Solaris 10 /bin/sh compatible - PATCH provided, Michael H Bianchi, 2015/04/13