Shell - nth word of previous command line