escaped | char and fixed sed command