1. Список говнокодов пользователя NTMan

    Всего: 1

  2. bash / Говнокод #3011

    −135.4

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    61. 61
    62. 62
    63. 63
    64. 64
    65. 65
    66. 66
    67. 67
    68. 68
    69. 69
    70. 70
    71. 71
    72. 72
    73. 73
    74. 74
    75. 75
    76. 76
    77. 77
    78. 78
    79. 79
    80. 80
    81. 81
    82. 82
    83. 83
    84. 84
    85. 85
    86. 86
    87. 87
    88. 88
    89. 89
    90. 90
    91. 91
    92. 92
    93. 93
    94. 94
    95. 95
    echo ""
    echo -e '\033[1m'"      MONITOR FOR SYSTEM SWITCH  $current"'\033[0m'
    echo "      *************************************************"
    #1
    {
    read line1
    } < $DIR_FLAG/$file1
    {
    read lines1
    } < $DIR_FLAG/$files1
    if [ "$line1" = "STOP" ]; then echo -e '\E[31m'"      TASK  1: --> $lines1" ; tput sgr0
    else echo -e '\E[32m'"      TASK  1: >< $lines1" ; tput sgr0
    fi
    #2
    {
    read line2
    } < $DIR_FLAG/$file2
    {
    read lines2
    } < $DIR_FLAG/$files2
    if [ "$line2" = "STOP" ]; then echo -e '\E[31m'"      TASK  2: --> $lines2" ; tput sgr0
    else echo -e '\E[32m'"      TASK  2: >< $lines2" ; tput sgr0
    fi
    #3
    {
    read line3
    } < $DIR_FLAG/$file3
    {
    read lines3
    } < $DIR_FLAG/$files3
    if [ "$line3" = "STOP" ]; then echo -e '\E[31m'"      TASK  3: --> $lines3" ; tput sgr0
    else echo -e '\E[32m'"      TASK  3: >< $lines3" ; tput sgr0
    fi
    #4
    {
    read line4
    } < $DIR_FLAG/$file4
    {
    read lines4
    } < $DIR_FLAG/$files4
    if [ "$line4" = "STOP" ]; then echo -e '\E[31m'"      TASK  4: --> $lines4" ; tput sgr0
    else echo -e '\E[32m'"      TASK  4: >< $lines4" ; tput sgr0
    fi
    #5
    {
    read line5
    } < $DIR_FLAG/$file5
    {
    read lines5
    } < $DIR_FLAG/$files5
    if [ "$line5" = "STOP" ]; then echo -e '\E[31m'"      TASK  5: --> $lines5" ; tput sgr0
    else echo -e '\E[32m'"      TASK  5: >< $lines5" ; tput sgr0
    fi
    #6
    {
    read line6
    } < $DIR_FLAG/$file6
    {
    read lines6
    } < $DIR_FLAG/$files6
    if [ "$line6" = "STOP" ]; then echo -e '\E[31m'"      TASK  6: --> $lines6" ; tput sgr0
    else echo -e '\E[32m'"      TASK  6: >< $lines6" ; tput sgr0
    fi
    #7
    {
    read line7
    } < $DIR_FLAG/$file7
    {
    read lines7
    } < $DIR_FLAG/$files7
    if [ "$line7" = "STOP" ]; then echo -e '\E[31m'"      TASK  7: --> $lines7" ; tput sgr0
    else echo -e '\E[32m'"      TASK  7: >< $lines7" ; tput sgr0
    fi
    #8
    {
    read line8
    } < $DIR_FLAG/$file8
    {
    read lines8
    } < $DIR_FLAG/$files8
    if [ "$line8" = "STOP" ]; then echo -e '\E[31m'"      TASK  8: --> $lines8" ; tput sgr0
    else echo -e '\E[32m'"      TASK  8: >< $lines8" ; tput sgr0
    fi
    #9
    {
    read line9
    } < $DIR_FLAG/$file9
    {
    read lines9
    } < $DIR_FLAG/$files9
    if [ "$line9" = "STOP" ]; then echo -e '\E[31m'"      TASK  9: --> $lines9" ; tput sgr0
    else echo -e '\E[32m'"      TASK  9: >< $lines9" ; tput sgr0
    fi
    
    и т.д.

    вот такой кодец остался нам в наследство....

    NTMan, 15 Апреля 2010

    Комментарии (12)