Hacker News new | past | comments | ask | show | jobs | submit login

Find's syntax is really annoying and clashy too. It makes sense. -- for extended syntax and - for shorthand. Why can't it follow this. Also fuck dd



I'd like a word with the person who thought that regular ( ) parentheses for grouping were a good idea in the find syntax, requiring them to be backslash-escaped in shell scripts.

The obviously right choice would have been [ ]. You know, like in

   if [ $foo ... ]


That won't work because '[' is an alias for test.


"[" as an argument to another command is fine.

"[" is just another name for the "test" command. It isn't special syntax.


It's pretty silly to ask a command written in the seventies(?) to follow a convention (for another operating system) presented in the nineties.


dd I really don't mind, because it makes me think and double-check that I'm flashing the right device every time.

find is annoying, though. I'd encourage you to check out fd.

https://github.com/sharkdp/fd


Ah, thank you very much!


Same with ffmpeg




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: