cdepillabout / highlight

command line tool for highlighting parts of files that match a regex
http://hackage.haskell.org/package/highlight
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

handle soft-links similar to grep #4

Open cdepillabout opened 7 years ago

cdepillabout commented 7 years ago

highlight doesn't seem to handle soft-links the same way grep does.

It would be nice to look into this and figure out the differences between how grep and highlight handle soft-links, for both files and directories. Writing up the differences on this issue would be adequate.

After the differences have been figured out, the next step would be to send a PR changing highlight and hrep to handle soft-links the same way as grep. (This part may not be as beginner-friendly as above).