1. The trade part of Lethal Zone has fully been taken over by FoG (Fortress of Gamers) and this site can no longer be used to make appeals. If you feel that your tag is unjust, please file an appeal over at https://f-o-g.eu.trade instead.

What are you doing right now?

Discussion in 'Lethal Chat' started by Doelwit, May 6, 2010.

  1. Q-Ball

    Q-Ball Registered

    Joined:
    Oct 7, 2009
    Messages:
    1,441
    Likes Received:
    0
    Trying to write script on bash to transliterate cyrillic symbols to latin.

    EDIT: Well, that was kinda easy :p
    Code:
    shopt -s nullglob
    for NAME in *
    do
    TRS=`echo $NAME |tr : _`
    TRS=${TRS//А/A};
    TRS=${TRS//а/a};
    TRS=${TRS//Б/B};
    TRS=${TRS//б/b};
    TRS=${TRS//в/v};
    TRS=${TRS//Ð’/V};
    TRS=${TRS//г/g};
    TRS=${TRS//Г/G};
    TRS=${TRS//д/d};
    TRS=${TRS//Д/D};
    TRS=${TRS//е/e};
    TRS=${TRS//Е/E};
    TRS=${TRS//Ñ‘/yo};
    TRS=${TRS//Ё/Yo};
    TRS=${TRS//ж/zh};
    TRS=${TRS//Ж/Zh};
    TRS=${TRS//з/z};
    TRS=${TRS//З/Z};
    TRS=${TRS//и/i};
    TRS=${TRS//И/I};
    TRS=${TRS//й/j};
    TRS=${TRS//Й/J};
    TRS=${TRS//к/k};
    TRS=${TRS//К/K};
    TRS=${TRS//л/l};
    TRS=${TRS//Л/L};
    TRS=${TRS//м/m};
    TRS=${TRS//М/M};
    TRS=${TRS//н/n};
    TRS=${TRS//Н/N};
    TRS=${TRS//о/o};
    TRS=${TRS//О/O};
    TRS=${TRS//п/p};
    TRS=${TRS//П/P};
    TRS=${TRS//Ñ€/r};
    TRS=${TRS//Р/R};
    TRS=${TRS//с/s};
    TRS=${TRS//С/S};
    TRS=${TRS//Ñ‚/t};
    TRS=${TRS//Т/T};
    TRS=${TRS//у/u};
    TRS=${TRS//У/U};
    TRS=${TRS//Ñ„/f};
    TRS=${TRS//Ф/F};
    TRS=${TRS//Ñ…/h};
    TRS=${TRS//Ð¥/H};
    TRS=${TRS//ц/c};
    TRS=${TRS//Ц/C};
    TRS=${TRS//ч/ch};
    TRS=${TRS//Ч/Ch};
    TRS=${TRS//ш/sh};
    TRS=${TRS//Ш/Sh};
    TRS=${TRS//щ/sch};
    TRS=${TRS//Щ/Sch};
    TRS=${TRS//э/e};
    TRS=${TRS//Э/E};
    TRS=${TRS//ÑŽ/ju};
    TRS=${TRS//Ю/Ju};
    TRS=${TRS//я/ya};
    TRS=${TRS//Я/Ya};
    TRS=${TRS//ÑŠ/\`};
    TRS=${TRS//Ъ/\`};
    TRS=${TRS//ь/\'};
    TRS=${TRS//Ь/\'};
    TRS=${TRS//Ñ‹/y};
    TRS=${TRS//Ы/Y};
    TRS=${TRS// /_};
    TRS=${TRS//_-_/-};
    if [[ `file -b "$NAME"` == "sticky directory" ]]; then
    mv -v "$NAME" "$TRS"
    cd "$TRS"
    cp "../$0" ./
    "$0"
    rm "$0"
    cd ..
    else
    
    mv -v "$NAME" "$TRS"
    fi
    done
    
     
  2. Anonymous

    Anonymous Guest

    Code:
    
    next time warn me when you switch over to robot language please  :shock:
     
  3. Q-Ball

    Q-Ball Registered

    Joined:
    Oct 7, 2009
    Messages:
    1,441
    Likes Received:
    0
    @BartieBoy, you never saw Brainfuck then :)
    That's how "hello world" looks on it:
    Code:
    ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
     
  4. Pablosky

    Pablosky Potato supreme

    Joined:
    Aug 18, 2009
    Messages:
    1,652
    Likes Received:
    0
    If we're starting with esoteric languages, then nothing beats Pi :D
     
  5. Jer9

    Jer9 Registered

    Joined:
    Sep 7, 2008
    Messages:
    4,524
    Likes Received:
    0
    Finished my little paper thingies xD

    [​IMG]
     
  6. Alias

    Alias Registered

    Joined:
    Jun 6, 2009
    Messages:
    2,959
    Likes Received:
    0
    Making a supid database zzzzzz
     
  7. Anonymous

    Anonymous Guest

    uploading my carnival pictures
     
  8. Jer9

    Jer9 Registered

    Joined:
    Sep 7, 2008
    Messages:
    4,524
    Likes Received:
    0
    trying to whistle a Portal 2 spoiler out of my head...
     
  9. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    Just done with watching The King's Speech
     
  10. Anonymous

    Anonymous Guest

    Watching a documentry that proofs (they say) that hitler escaped to Argentinia
     
  11. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    and? Are you convinced?
     
  12. Duck

    Duck Registered

    Joined:
    Feb 18, 2007
    Messages:
    1,723
    Likes Received:
    0
    Reading this forum as I wait for xampp to download with terrible speeds
     
  13. Jer9

    Jer9 Registered

    Joined:
    Sep 7, 2008
    Messages:
    4,524
    Likes Received:
    0
    drinking orange toxic water while watching teh internet.
     
  14. Anonymous

    Anonymous Guest

    How can you watch the INTERNET?!?!? WOW are you THE Internet-God? How do you do that? You can see all the things at once? Or?

    :p :p :p

    /funny time
     
  15. Jer9

    Jer9 Registered

    Joined:
    Sep 7, 2008
    Messages:
    4,524
    Likes Received:
    0
    :lol:

    feeling drunk but still drinking another beer yaaaaaay! :D
     
  16. Killvion

    Killvion Registered

    Joined:
    Aug 31, 2008
    Messages:
    10,172
    Likes Received:
    0
    Having a hang over from last night with friends, including Jer9.
     
  17. Anonymous

    Anonymous Guest

    [​IMG]
    This my friend is the internet, watch it all you want, but don't drop it!
     
  18. Anonymous

    Anonymous Guest

    I thought you didn't drink...... :O

    Hmmmmmm

    PARTY TIMEEEEE
     
  19. Bye Bye Mr. Moon

    Bye Bye Mr. Moon Registered

    Joined:
    Sep 23, 2009
    Messages:
    864
    Likes Received:
    0