fix grep: invalid option -- 'O'