daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. cont=0
  3. cont1=1
  4. cont2=1
  5. cont3=1
  6. cont4=1
  7. cont5=1
  8. cont6=1
  9. cont7=1
  10. cont8=1
  11. cont9=1
  12. cont10=1
  13. cont11=1
  14. cont12=1
  15. cont13=1
  16. cont14=0
  17. while [ $cont != 1309092554000 ]
  18. do
  19. cont=$(($cont+1))
  20. cont14=$(($cont14+1))
  21. if [ $cont14 == 38 ]
  22. then
  23. cont14=0
  24. cont13=$(($cont13+1))
  25. fi
  26. if [ $cont13 == 38 ]
  27. then
  28. cont13=0
  29. cont12=$(($cont12+1))
  30. fi
  31. if [ $cont12 == 38 ]
  32. then
  33. cont12=0
  34. cont11=$(($cont11+1))
  35. fi
  36. if [ $cont11 == 38 ]
  37. then
  38. cont11=0
  39. cont10=$(($cont10+1))
  40. fi
  41. if [ $cont10 == 38 ]
  42. then
  43. cont10=0
  44. cont9=$(($cont9+1))
  45. fi
  46. if [ $cont9 == 38 ]
  47. then
  48. cont9=0
  49. cont8=$(($cont8+1))
  50. fi
  51. if [ $cont8 == 38 ]
  52. then
  53. cont8=0
  54. cont7=$(($cont7+1))
  55. fi
  56. if [ $cont7 == 38 ]
  57. then
  58. cont7=0
  59. cont6=$(($cont6+1))
  60. fi
  61. if [ $cont6 == 38 ]
  62. then
  63. cont6=0
  64. cont5=$(($cont5+1))
  65. fi
  66. if [ $cont5 == 38 ]
  67. then
  68. cont5=0
  69. cont4=$(($cont4+1))
  70. fi
  71. if [ $cont4 == 38 ]
  72. then
  73. cont4=0
  74. cont3=$(($cont3+1))
  75. fi
  76. if [ $cont3 == 38 ]
  77. then
  78. cont3=0
  79. cont2=$(($cont2+1))
  80. fi
  81. if [ $cont2 == 38 ]
  82. then
  83. cont2=0
  84. cont1=$(($cont1+1))
  85. fi
  86. if [ $cont1 == 38 ]
  87. then
  88. exit
  89. fi
  90. c1=`sed -n "${cont1}p" a.txt`
  91. c2=`sed -n "${cont2}p" a.txt`
  92. c3=`sed -n "${cont3}p" a.txt`
  93. c4=`sed -n "${cont4}p" a.txt`
  94. c5=`sed -n "${cont5}p" a.txt`
  95. c6=`sed -n "${cont6}p" a.txt`
  96. c7=`sed -n "${cont7}p" a.txt`
  97. c8=`sed -n "${cont8}p" a.txt`
  98. c9=`sed -n "${cont9}p" a.txt`
  99. c10=`sed -n "${cont10}p" a.txt`
  100. c11=`sed -n "${cont11}p" a.txt`
  101. c12=`sed -n "${cont12}p" a.txt`
  102. c13=`sed -n "${cont13}p" a.txt`
  103. c14=`sed -n "${cont14}p" a.txt`
  104. echo "$c1$c2$c3$c4$c5$c6$c7$c8$c9$c10$c11$c12$c13$c14" >> out.txt
  105. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top