Skip to content

Instantly share code, notes, and snippets.

@gradha
Created December 14, 2013 15:05
Show Gist options
  • Save gradha/7960297 to your computer and use it in GitHub Desktop.
Save gradha/7960297 to your computer and use it in GitHub Desktop.
Tutorial example in source code filter form
#import os
#
#let
# path = "usr/local/nimrodc.html"
# (dir, name, ext) = splitFile(path)
# baddir, badname, badext = splitFile(path)
#echo dir # outputs `usr/local`
#echo name # outputs `nimrodc`
#echo ext # outputs `.html`
#echo baddir
#echo badname
#echo badext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment