You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
398 B
JavaScript
9 lines
398 B
JavaScript
var expand = require('./');
|
|
|
|
console.log(expand('http://any.org/archive{1996..1999}/vol{1..4}/part{a,b,c}.html'));
|
|
console.log(expand('http://www.numericals.com/file{1..100..10}.txt'));
|
|
console.log(expand('http://www.letters.com/file{a..z..2}.txt'));
|
|
console.log(expand('mkdir /usr/local/src/bash/{old,new,dist,bugs}'));
|
|
console.log(expand('chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}'));
|
|
|