Closed ptitzler closed 5 years ago
Thank you for catching this!
Just pushed an update with a fix.
@kastentx~/Pictures/llamas> magicat --version
1.5.3
Absolute path (in cwd):
@kastentx~/Pictures/llamas> magicat /Users/nick/Pictures/llamas/llama-macchu-pichu.jpg
The image '/Users/nick/Pictures/llamas/llama-macchu-pichu.jpg' contains the following segments: background, sheep, dog, cat.
Absolute path (non cwd):
@kastentx~> magicat /Users/nick/Pictures/llamas/llama-macchu-pichu.jpg
The image '/Users/nick/Pictures/llamas/llama-macchu-pichu.jpg' contains the following segments: background, sheep, dog, cat.
Absolute + Relative combo:
@kastentx~> magicat /Users/nick/Pictures/llamas/../doggy.jpg
The image '/Users/nick/Pictures/llamas/../doggy.jpg' contains the following segments: background, dog, person.
Directory support (for good measure):
@kastentx~> magicat /Users/nick/Pictures/llamas/
Scanning directory '/Users/nick/Pictures/llamas'...
The image 'candy-llama.jpeg' contains the following segments: background, dog, bird, cat.
The image 'llama-macchu-pichu copy.jpg' contains the following segments: background, sheep, dog, cat.
The image 'llama-macchu-pichu.jpg' contains the following segments: background, sheep, dog, cat.
The image 'mosaic-llama.jpeg' contains the following segments: background, bird, potted plant.
The image 'rain_princess-llama.jpeg' contains the following segments: background, bird.
The image 'udnie-llama.jpeg' contains the following segments: background, bird.
Relative path spec: OK
Absolute path spec: FAIL