[attu1 hw2]$ ./searchshell ./test_tree
Indexing './test_tree'
enter query:
ulysses
  ./test_tree/books/ulysses.txt (10)
  ./test_tree/books/countofmontecristo.txt (2)
  ./test_tree/books/leavesofgrass.txt (1)
  ./test_tree/books/lesmiserables.txt (1)
  ./test_tree/books/paradiselost.txt (1)
enter query:
cosette
  ./test_tree/books/lesmiserables.txt (1022)
enter query:
NOMADS Leave
  ./test_tree/books/leavesofgrass.txt (45)
enter query:
sherlock
  ./test_tree/books/sherlockholmes.txt (101)
  ./test_tree/books/ulysses.txt (4)
enter query:
sherlock ulysses
  ./test_tree/books/ulysses.txt (14)
enter query:
ocean
  ./test_tree/books/mobydick.txt (81)
  ./test_tree/books/davincinotebooks.txt (41)
  ./test_tree/books/leavesofgrass.txt (36)
  ./test_tree/books/countofmontecristo.txt (24)
  ./test_tree/books/lesmiserables.txt (18)
  ./test_tree/books/paradiselost.txt (16)
  ./test_tree/books/ulysses.txt (10)
  ./test_tree/books/taleoftwocities.txt (6)
  ./test_tree/books/janeeyre.txt (4)
  ./test_tree/books/huckfinn.txt (4)
  ./test_tree/books/therepublic.txt (4)
  ./test_tree/books/analyzepeopleonsight.txt (1)
  ./test_tree/books/warandpeace.txt (1)
  ./test_tree/books/thetimemachine.txt (1)
  ./test_tree/books/thejunglebook.txt (1)
  ./test_tree/bash-4.2/examples/functions/jdate.bash (1)
  ./test_tree/books/wutheringheights.txt (1)
  ./test_tree/books/dracula.txt (1)
  ./test_tree/books/tomsawyer.txt (1)
enter query:
ocean whale
  ./test_tree/books/mobydick.txt (1313)
  ./test_tree/books/leavesofgrass.txt (41)
  ./test_tree/books/countofmontecristo.txt (25)
  ./test_tree/books/lesmiserables.txt (19)
  ./test_tree/books/ulysses.txt (13)
  ./test_tree/books/thejunglebook.txt (5)
  ./test_tree/books/huckfinn.txt (5)
  ./test_tree/books/dracula.txt (2)
enter query:
ocean whale huckleberry
  ./test_tree/books/huckfinn.txt (17)
enter query:
STorm STATIC SleeP
  ./test_tree/books/ulysses.txt (59)
  ./test_tree/books/analyzepeopleonsight.txt (9)
enter query:
ocean whale ravenous
  ./test_tree/books/mobydick.txt (1314)
  ./test_tree/books/leavesofgrass.txt (42)
  ./test_tree/books/ulysses.txt (15)
enter query:
ocean whale ravenous huckleberry
enter query:
badarraysub
  ./test_tree/bash-4.2/arrayfunc.c (11)
  ./test_tree/bash-4.2/subst.c (2)
  ./test_tree/bash-4.2/error.c (1)
  ./test_tree/bash-4.2/error.h (1)
enter query:
badarraysub subst
  ./test_tree/bash-4.2/subst.c (45)
  ./test_tree/bash-4.2/arrayfunc.c (12)
enter query:
shutting down...