Advertisement
Tariqul_Islam

Lonely Integer - Bash!

Aug 16th, 2020
1,085
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.09 KB | None | 0 0
  1. #!/bin/bash
  2. read
  3. arr=($(cat))
  4. echo "${arr[@]}" | tr ' ' '\n' |sort | uniq -u | tr '\n' ' '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement