Timeline for Generate array of strings combined with number
Current License: CC BY-SA 3.0
        12 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 28, 2016 at 8:08 | vote | accept | MERose | ||
| Aug 25, 2016 at 13:03 | answer | added | Jeff Schaller♦ | timeline score: 0 | |
| Dec 29, 2014 at 0:28 | comment | added | MERose | @steeldriver This works all very well. Now I also know the name of what I am doing. Do you want to officially answer the question? | |
| Dec 29, 2014 at 0:02 | comment | added | steeldriver | This type of variable expansion is known as brace expansion because you need braces: for example echo {JF,RFS,JFI}-1998 | |
| Dec 28, 2014 at 23:55 | comment | added | MERose | @steeldriver Can I put JF,RFS,JFIin a variable? For me it didn't work when in donames=(JF,RFS,JFI)and then{$names}-1998. Also no spaces instead of commas. | |
| Dec 28, 2014 at 22:59 | comment | added | muru | @MERose The converse of that usage: {JF,RFS,JFI}-1998 | |
| Dec 28, 2014 at 22:46 | history | edited | MERose | CC BY-SA 3.0 | 
                
                    Change title as I now ask two related things 
                
             | 
| Dec 28, 2014 at 22:33 | comment | added | MERose | @steeldriver: I added a new part to the question because I didn't want to cast a new one. Do you also know how to deal with combining some strings with a fixed number? | |
| Dec 28, 2014 at 22:32 | history | edited | MERose | CC BY-SA 3.0 | 
                
                    deleted 68 characters in body 
                
             | 
| Dec 28, 2014 at 0:14 | comment | added | steeldriver | You mean something like arr=( JF-{1998..2011} )? | |
| Dec 28, 2014 at 0:03 | history | edited | MERose | CC BY-SA 3.0 | 
                
                    add /array 
                
             | 
| Dec 27, 2014 at 23:53 | history | asked | MERose | CC BY-SA 3.0 |