Sample Header Ad - 728x90

How do I force ag (the silver searcher) to list empty files

2 votes
2 answers
382 views
How do I get ag to list all files, including empty ones? +ravi@boxy:~$ mkdir new && cd new +ravi@boxy:~/new$ echo stuff > non-empty && touch empty +ravi@boxy:~/new$ ag -ul non-empty +ravi@boxy:~/new$ How do I get empty to appear in the example above?
Asked by Tom Hale (32922 rep)
Aug 14, 2016, 12:47 PM
Last activity: Nov 26, 2016, 05:50 AM