Re: Proposed modification to seq

2018-12-27 Thread Aran.Clauson
From: Greg Troxel > Brian Ginsbach writes: > >> It has been a while since I wrote that code but my recollection is >> that it isn't necessarily a bug. That GNU copied and changed the >> meaning of -s (again provided my recollection is correct) isn't >> surprising either. I'd need to dig back to s

Re: Proposed modification to seq

2018-12-27 Thread Greg Troxel
Brian Ginsbach writes: > It has been a while since I wrote that code but my recollection is > that it isn't necessarily a bug. That GNU copied and changed the > meaning of -s (again provided my recollection is correct) isn't > surprising either. I'd need to dig back to see what GNU seq had 20 > y

Re: Proposed modification to seq

2018-12-27 Thread Brian Ginsbach
On Tue, Dec 18, 2018 at 12:16:58PM +1100, Simon Burge wrote: > Greg Troxel wrote: > > > a...@100acres.us writes: > > > > > The seq command behaves a little differently than I expect. I needed a > > > comma > > > separated list of integers, but seq gave me this: > > > > > > $seq -s , 1 3 > > >

Re: Proposed modification to seq

2018-12-17 Thread Simon Burge
Greg Troxel wrote: > a...@100acres.us writes: > > > The seq command behaves a little differently than I expect. I needed a > > comma > > separated list of integers, but seq gave me this: > > > > $seq -s , 1 3 > > 1,2,3,$ > > > > Notice the extra comma and no trailing return. The comma is trou

Re: Proposed modification to seq

2018-12-17 Thread Greg Troxel
a...@100acres.us writes: > The seq command behaves a little differently than I expect. I needed a comma > separated list of integers, but seq gave me this: > > $seq -s , 1 3 > 1,2,3,$ > > Notice the extra comma and no trailing return. The comma is troublesome for > my >From reading the man p

Proposed modification to seq

2018-12-16 Thread aran
All, The seq command behaves a little differently than I expect. I needed a comma separated list of integers, but seq gave me this: $seq -s , 1 3 1,2,3,$ Notice the extra comma and no trailing return. The comma is troublesome for my particular purpose. It seems that the item separator (-s)