Permalink
Browse files

add comment for future work

  • Loading branch information...
fukawi2 committed Mar 15, 2017
1 parent c1760eb commit 2c00c77d2a6c3026f4e95b0ec0e5b0a9afb9c918
Showing with 4 additions and 0 deletions.
  1. +4 −0 ffiler.sh
View
@@ -216,6 +216,10 @@ main() {
# a directory, and the user wants us to recurse!
# TODO: this is not proper recursion, but I'm in a rush today
# this needs to actually descend into child directories
+ # also, we need to consider that the output directory may
+ # be a child of the source directory, in which case doing proper
+ # recursion could end up re-processing files that are already
+ # sorted in previous runs. dont know how to deal with that.
cd "$fname"
for C in $(ls "$fname/") ; do
[[ ! -f "$C" ]] && continue

0 comments on commit 2c00c77

Please sign in to comment.