[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Looking for a one line script



James Sumners <james.sumners at gmail.com> writes:

> Thanks for the solutions. I am actually working on a couple of
> Automator workflows for OS X so I will have to make sure the shell
> supports basname and dirname. I thought that such functions existed
> but they were not turning up in my Google searches.

"basename" and "dirname" are both external binaries, not
shell builtins. I'm sure you could build them for OSX
if need be, but I'd be astonished if they weren't
already there.

-- Joe

Joseph Knapka  j k n a p k a at k n e u r o . n e t