Added 'trim' command