Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. echo $x # This return 1 2 3 4 5 6 7 8 53 54 55 74
  2. for ((i=1; i<=$(cat Reaction_names | wc -l); i++)); do
  3. Condition=$(awk 'BEGIN{print ('${i}'=='$x')?1:0}')
  4. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement