Original Code Taken from here:
http://www.tldp.org/LDP/abs/html/bashver2.html#EX79
The code in the above link displays 4 unique 13 cards hands. I've modified it to deal a hand unique 2 card hand to 2 different players, then deal 5 unique community cards as in Texas Holdem (3 cards, then 1... (8 Replies)
Okay so Zork sparked my interest in this. I have been learning to program for the last year and a half. I've dabbled in everything from Java to Ruby to PHP & XHTML & SQL, and now I'm on bash. I really like bash scripting. Its easy and fun. I just started two days ago. Pretty much I've been writing... (1 Reply)
Okay so I'm making a simple text based game that branches into different scenarios. By branching I mean branching off into whole different files with that part of the game in it. I got tired of working on scenario 1 so I'm working on scenario 2. As I get started and try to test it, I get an... (3 Replies)
Hello, I am looking to make a text based game, that runs in the command window, or a window similar. I will only need to use 1 window.
I read somewhere that there is libraries for this kind of thing? But I can't remember the name of them.. Can anyone point me in a direction?
I will be... (2 Replies)
Hi All,
Been trying to understand the code in tetris game (in the sticky threads) & i know i have a alot reading /practice to do. it's using advanced methods with arrays and arithmetic and would much appreciate if some one can guide me to good books that's not outdated that would help me take... (0 Replies)
When I run the following script at the bottom it say cards remaining=44...It should be=35.
Can anyone tell me what I'm doing wrong. I've spent hours trying to get this to work and I can't go any further until this part works. thank you in advance
Cogiz
#!/bin/bash
# Date="November, 2016"
#... (2 Replies)
Hello guys I'm new to shell scripting and I need to make a game using shell script. I want to know if it is possible for me a total noob to shell scripting to make this game.
The game concept is simple:
First thing when you launch the script you get a menu in which you select if you want to... (3 Replies)
Discussion started by: Othmane
3 Replies
LEARN ABOUT SUNOS
sjtojis
jistoeuc(1) User Commands jistoeuc(1)NAME
jistoeuc, jistosj, euctojis, euctosj, sjtojis, sjtoeuc - Code conversion between JIS, PC kanji, and Japanese EUC
SYNOPSIS
jistoeuc [-8] [-U] [filename...]
jistosj [-8] [-U] [filename...]
euctojis [-8] [-U] [filename...]
euctosj [-U] [filename...]
sjtojis [-8] [-U] [filename...]
sjtoeuc [-U] [filename...]
AVAILABILITY
SUNWjfpu
DESCRIPTION
For Japanese language handling, the jistoeuc family provides conversion between different code standards. command [ filename ...] does the
specified conversion on the contents of the input filenames and writes it to stdout.
If filename is not given, it reads and converts characters from the standard input.
jistoeuc converts JIS to Japanese EUC
jistosj converts JIS to PC kanji
euctojis converts Japanese EUC to JIS
euctosj converts Japanese EUC to PC kanji
sjtojis converts PC kanji to JIS
sjtoeuc converts PC kanji to Japanese EUC
OPTIONS -8 With this option specified, the commands jistoeuc, jistosj, sjtojis, and sjtoeuc, can support JIS X 0201 (Half-Size Katakana).
This 8-bit JIS code does not use ISO Shift-In and Shift-Out escape sequences.
-U The output is not buffered (The default is buffered output).
SEE ALSO iconv(1), iconv_ja(5)NOTES
This command can handle shift-in escape sequences for the following character sets:
JIS X 0208 shift-in escape - E$B, E$(B, E$@
JIS X 0212 shift-in escape - E$(D
JIS X 0201 Roman shift-in escape - E(J, E(H
ASCII shift-in escape - E(B
euctojis and sjtojis can handle shift-in escape sequences for the following character sets:
JIS X 0208 shift-in - E$B
JIS X 0212 shift-in - E$(D (except when sjtojis command is specified)
JIS X 0201 Roman shift-in - E(J
jistoeuc does not check whether or not each code in the input file is correct. Conversion with PC kanji is not based on TOG Japanese Ven-
dors Council (TOG/JVC) Recommended Code Set Conversion Specification between Japanese EUC and Shift-JIS. The iconv(1) utility provides
these functions. See iconv(1) and iconv_ja(5) for more information.
BUGS
If JIS X 0212 character set is specified as input, jistosj and euctosj can not support the conversion correctly. euctosj, sjtoeuc, jis-
tosj, and sjtojis can support conversion correctly only if JIS X 0208 1 ku - 84 ku is specified as input.
SunOS 5.10 10 Jan 2003 jistoeuc(1)