Hacker News new | ask | show | jobs
by mhd 1954 days ago
Also strips the path and you have to know the extension name(s). For my examples, "cut" would be appropriate. But those substitutions tend to work in anything POSIX, not just bash/zsh.