Re:Strftime's alpha-sorted man page vs. well-meaning people
by Izkata on Sunday May 13, 2018 @08:33PM
(#17061859)
Neither does your suggestion of predefined formats. May want to flesh that out a bit if you had something different in mind.
[ Parent
| on HN ]
Re:Strftime's alpha-sorted man page vs. well-meaning people
by Groxx on Monday May 14, 2018 @12:55AM
(#17062811)
Skeletons give vastly more control than %c, and still retain safety. There's no comparison. And yes, pre-defined formats do give you more control than %c - you can make as many as you like.
Re:Strftime's alpha-sorted man page vs. well-meaning people
by masklinn on Monday May 14, 2018 @03:48AM
(#17063630)
> Neither does your suggestion of predefined formats.
That's exactly what predefined formats provide, what with not being a single specific format. I literally quoted Babel's 4 predefined formats which are only differentiated by their "width".
And skeletons very much let you specify both overall width and field selection (to an extent).