Skip to content

Commit

Permalink
describe how we use find(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan R. Smith (ace hacker) committed Dec 1, 2011
1 parent 363b511 commit e6d8043
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,14 @@ $ pwd

## Motivation

There are popular tmux helpers on github. They require ruby and yaml file. No thanks!
There are popular tmux helpers on github. They require ruby and yaml file. No thanks!
It is my opinion that bash is the right tool for the job here. UNIX doesn't care about yaml.

## Issues

tat(1) assumes you have your code in a "root" dir; we use find(1) on this directory and there is not depth limit.
Thus find may take a while. I think the use of find(1) could be tuned for better performance.
tat(1) assumes you have your code in "root" directories. We use find(1) to scan
(with max-depth=1) the directories to find one that matches your argument to
tat(1).

**update**

I have piped the output of find to head(1) -n 1. This is a bit of a hack, but head will close our pipe on the first result
which will cause find to error out.


0 comments on commit e6d8043

Please sign in to comment.