What wrong in cat ? Two simillar Arrays! ERROR: UndefRefError: access to undefined reference

Just FYI, you should use backticks (``) rather than > to quote your code. See here