mirror of
https://github.com/nodejs/node.git
synced 2025-05-18 19:31:09 +00:00

PR-URL: https://github.com/nodejs/io.js/pull/2286 Reviewed-By: Roman Reiss <me@silverwind.io>
8 lines
397 B
JavaScript
8 lines
397 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}}'));
|