05-01-2013
Normally, cat -v does show what the non-printing character is.
Hex 18 shows as ^X
Hex 19 shows as ^Y
This User Gave Thanks to hanson44 For This Post:
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends
I need to splict special character "|" here.
Here is my script which giving error
LINE=INVTRAN|cd /home/msgGoogle
TraxFolderType=`awk -F"|" '{print $1}' $LINE`
filePath=`awk -F"|" '{print $2}' $LINE`
echo "TraxFolderType: "$TraxFolderType
echo "filePath :"$filePath
... (3 Replies)
Discussion started by: krishna9
3 Replies
2. Shell Programming and Scripting
Dear friends, following is the output of a script from which I want to remove spaces and new-line characters.
Example:-
Line1 abcdefghijklmnopqrstuvwxyz
Line2 mnopqrstuvwxyzabcdefghijkl
Line3 opqrstuvwxyzabcdefdefg
Here in above example, at every starting line there is a “tab” &... (4 Replies)
Discussion started by: anushree.a
4 Replies
3. UNIX for Advanced & Expert Users
Hi,
When typing the command ps -fe.the system is showing a process called SYSCON:confused:....
I am not sure what process is that.I hava a script that kills all command staring with 'sys' but i don't want to kill syscon:( since i think it is some system process:confused:
.Please help me to find... (1 Reply)
Discussion started by: kiranjose85
1 Replies
4. Shell Programming and Scripting
both ksh/bash support this 2 special variables, Is there any document for reference?
1) "-" is $OLDPWD
2) "$_" is last argument of previous command. (4 Replies)
Discussion started by: honglus
4 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
Hi Experts.
I'm stuck with the below AWK code where i'm trying to move the records containing any special characters in the last field to a bad file.
awk -F, '{if ($NF ~ /^|^/) print >"goodfile";else print >"badfile"}' filename
sample data
1,abc,def,1234,A *
2,bed,dec,342,* A ... (6 Replies)
Discussion started by: shell_boy23
6 Replies
7. Shell Programming and Scripting
Hi all.
I have a .txt file that I need to sort it
My file is like:
1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO)
2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies
8. UNIX for Advanced & Expert Users
Hi,
I have installed RHEL4 using vmware workstation..
Host OS: Windows XP
Guest OS: RHEL4
Pls refer step 17 & 18 in below link...
ORACLE-BASE - Red Hat Enterprise Linux 4 and Centos 4 Installation
1) If i choose to assign IP automatically (using DHCP) means, i am able to connect RHEL4... (3 Replies)
Discussion started by: thomasraj87
3 Replies
9. Shell Programming and Scripting
I want to filter out the special character whose ascii value doesn't fall within the range "" .
Example:� or Ć. So in that case is there any defined range which will filter out this characters.
I can filter those which falls withing "" . Need to filter those special chracter which doesn't... (14 Replies)
Discussion started by: Abhijit Sen
14 Replies
LEARN ABOUT DEBIAN
hex-a-hop
Hex-a-hop(6) Hex-a-hop(6)
NAME
hex-a-hop - puzzle game based on hexagonal tiles
DESCRIPTION
Hex-a-hop is a puzzle game based on hexagonal tiles. There is no time limit and no real-time element.
The objective is simply to destroy all the green hexagonal tiles on each of the 100 levels. As you progress through the game, more types of
tiles are introduced which make things more difficult and interesting.
USAGE
You can move the character around with the keys Q,W,E,A,S,D, or with the numeric keypad. Alternatively, you can use the mouse and click on
the tile you'd like to move to.
Use 'U', backspace or the right mouse button to undo mistakes. The 'Esc' key (or middle mouse button) brings up a menu from which you can
restart if you get stuck.
Your goal is to break all the green tiles. You mainly do this by jumping on them. They will crack when you land on them, and only disinte-
grate when you jump off. Try not to trap yourself!
During the game, you will be given hints and instructions on what to do. Use the cursor keys or click on the arrows to scroll through the
help pages. More pages will be added as you progress through the game, as new tiles will keep appearing.
You can choose which level to attempt next from the map screen. Silver levels are ones you've cleared. Black levels are ones you haven't
completed yet, but are available to play.
There is no time limit and no real-time element, so take as long as you like.
SEE ALSO
You can find more about the game on its homepage: http://www.aceinternet.co.uk/~mokona/
In Debian's version, game data is stored in the directory $HOME/.hex-a-hop/. If the environment variable $HOME is not set, it'll use /tmp/
instead.
AUTHOR
The game has been written by Tom Beaumont, and is distributed under the GNU General Public License, either version 2 of the License, or (at
your option) any later version.
Hex-a-hop(6)