3 ms·
The comma part reminds me of a not well known feature of bsd globbing. $ echo {one,two,three}{A,B,C}{0,1,2,3,4} oneA0 oneA1 oneA2 oneA3 oneA4 oneB0 oneB1 o
by tyingq 5y ago
The comma part reminds me of a not well known feature of bsd globbing.
$ echo {one,two,three}{A,B,C}{0,1,2,3,4}
oneA0 oneA1 oneA2 oneA3 oneA4 oneB0 oneB1 oneB2 oneB3 oneB4 oneC0 oneC1 oneC2 oneC3 oneC4 twoA0 twoA1 twoA2 twoA3 twoA4 twoB0 twoB1 twoB2 twoB3 twoB4 twoC0 twoC1 twoC2 twoC3 twoC4 threeA0 threeA1 threeA2 threeA3 threeA4 threeB0 threeB1 threeB2 threeB3 threeB4 threeC0 threeC1 threeC2 threeC3 threeC4
- hnlmorg 5y agoIt also works with `..` to suggest ranges. eg echo {one,two,three}{A..C}{0..4}