Fix bug that `cut` only took the second field when splitting on ';' instead of everything after the first semicolon and thus not properly handling commands that contain semicolons. Add die() and hist-sort(). Use here-string instead of process substitution with input redirection. Rephrase comment.