On 8/23/21 3:13 PM, Oğuz wrote: > 23 Ağustos 2021 Pazartesi tarihinde L A Walsh <b...@tlinx.org> yazdı: > >> Starting with a number N, is there >> an easy way to print its digits into an array? >> I came up with a few ways, but thought this >> would be nice (with '\1' or '$1' being what was matched >> in the 1st part), this could be statement: > > > If memory serves, the ampersand character will have this function in bash > 5.2.
Yes, it's tagged for bash-5.2. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/