Hacker News new | ask | show | jobs
by chriskrycho 3497 days ago
No, actually: it really was that simple, and I told my friend it was a super simple thing.

I took the fact that it was so simple as an excuse to do the more complicated things alongside a very simple piece of code. That way, it's easy to see what the code does and then think about the implications of being able to run something like it (including something more complicated) cross-platform.

2 comments

Yeah, I read further in the comments and saw you say what I had meant here. Either the example was stripped down or there was a bigger picture reason why to do this rather than invoking 'find'. Thanks for writing this!
For future reference the DOS command 'ren' does this.