Name

filetolist — Takes a filename and returns a list.

Synopsis

filetolist filename

Description

The filetolist command takes an argument, filename, and returns a list of all the file's directory components.

Example

hecl> filetolist /var/lib/dpkg/info
/ var lib dpkg info