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

  echo $filename:r
is the shorter, Zsh way to strip a file extension.

What am I missing from Ksh93?




Hmm, let me check, I think zsh does have associative arrays and floating point, two features that bash took quite a bit longer to get (and which aren't in the bash in OS X). So at least that's okay.

Compound and active variables are quite convenient in longer scripts. As are namerefs, but I think zsh might have something similar enough.




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

Search: