0

I'm trying to create a few files at once using this syntax touch foo{0..9}, my desired output are ten files numbered from 0 to 9, but this only works when I'm using bash, if I switch to fish it creates a single file like this "foo1..9".

OS is Debian 9 4.9.0-8-amd64 and fish version is 2.7.1

Cyrus
  • 84,225
  • 14
  • 89
  • 153

1 Answers1

2

I suggest with fish shell:

touch foo(seq 0 9)
Cyrus
  • 84,225
  • 14
  • 89
  • 153