Skip to content

Instantly share code, notes, and snippets.

@aereal
Last active August 29, 2015 14:14
Show Gist options
  • Save aereal/fbb9cb059715678ba1aa to your computer and use it in GitHub Desktop.
Save aereal/fbb9cb059715678ba1aa to your computer and use it in GitHub Desktop.
let paths = [
\ '/Users/aereal/repo/lib',
\ '/Users/aereal/repo/extlib',
\ '/Users/aereal/repo/local/lib/perl5',
\ '/Users/aereal/repo/local/lib/perl5/darwin-2level',
\ '/Users/aereal/repo/t/lib',
\ '/Users/aereal/repo/lib',
\ '/Users/aereal/repo/extlib',
\ '/Users/aereal/repo/local/lib/perl5',
\ '/Users/aereal/repo/local/lib/perl5/darwin-2level',
\ '/Users/aereal/repo/t/lib',
\ ]
echo '---'
for p in uniq(copy(paths))
echo p
endfor
echo '---'
for p in uniq(sort(copy(paths)))
echo p
endfor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment