Extract delimited lines

Based on <http://unix.stackexchange.com/a/68438/3645>.
Get inode number of a path