Tagged Questions
1
vote
3answers
60 views
Decomposition of path specs into longest-common-prefix + suffix
Given any two absolute Unix path specs1, one could decompose each spec as the concatenation of a longest common prefix and a specific suffix. E.g.,
/abc/bcd/cdf -> /abc/bcd + cdf
...
0
votes
0answers
27 views
Problem with calling program from the command line [closed]
Note: this is a cross post with this post on SO.
I am trying to build a command line wrapper in Python 3 for an exiting command line tool called 'spooky' and I am having a hard time understanding ...
1
vote
3answers
406 views
How to determine which executable on my path will be run?
I run which and get the following,
brendan$ which python
/opt/local/bin/python
brendan$ which -a python
/opt/local/bin/python
/usr/bin/python
brendan$ ls -l /opt/local/bin/python
lrwxr-xr-x ...