I whant a create some files in the certain range.
For example, begin 8811 and finishing 8878
I know one good decision
touch 88{11,12,13,14,15,16,...,...,78}
I try touch 88[11-78], but i don't have results Bash create file with name 88[11-78]
But it very long command I wanna create it easy
This is possible ?
In some shells the brace expansion generates letters (and other characters) too:
zsh 4.3.4% print {a-c}
{a-c}
zsh 4.3.4% setopt braceccl
zsh 4.3.4% print {a-c}
a b c
zsh 4.3.4% bash
bash 3.2.25(1)$ echo {a..c}
a b c
bash 3.2.25(1)$ ksh
$ echo {a..c}
a b c
zsh 4.3.4% print {a--z}
. / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z
zsh 4.3.4% bash+william
bash 3.00.0(2)-bashdiff-1.44$ echo {a--z}
a b c d e f g h i j k l m n o p q r s t u v w x y z