Re:Show HN: I wrote a program to convert lines of text into ...
by kazinator on Tuesday March 30, 2021 @09:55AM
(#26634632)
New version:
- swap pointers to flip buffers instead of strcpy
- handle corner case of directory printed after contents (find -depth) by avoiding printing nothing but spaces, or nothing but spaces followed by a slash
- swap pointers to flip buffers instead of strcpy
- handle corner case of directory printed after contents (find -depth) by avoiding printing nothing but spaces, or nothing but spaces followed by a slash