02-06-2009
Deal with binary sequences
Hello,
I have come across the necessity for me to deal with binary sequences and I had a few questions.
1- Does any UNIX scripting language provide any tool or command for converting text data to binary sequences? Example of binary sequence: "0x97 0x93 0x85 0x40 0xd5 0xd6 0xd7"
2- If I want to concatenate this one line of binary sequence to a file, do I need to translate it first before using the cat command?
Moving into unknown territory there, I was hoping some of you guys had dealt with similar things at some point. Thanks by advance.
9 More Discussions You Might Find Interesting
1. What is on Your Mind?
Okay, I don't know how this is funny, but it is. I found this while searching for Linux (please don't ask). :o (0 Replies)
Discussion started by: gnerd
0 Replies
2. Solaris
:) Hi,
Can any one help me to find available escape sequences in UNIX shell programming? ( Like \n, \c etc,. in C or C++)
Iam generating one report using one of the script, in that it is very much essential.
Regards,
LOVE (6 Replies)
Discussion started by: Love
6 Replies
3. Programming
hi
how to deal with hardware in c or c++?
i need to learn how open CD and close any hard >>> and control hardware
:) (2 Replies)
Discussion started by: hgphsf
2 Replies
4. Programming
Hi,
i have read trigraph sequence in
The C99 Draft (N869, 18 January, 1999)
printf("Eh???/n");
will produce
printf("Eh?\n");
what does that mean?
i tried that but i am getting the same output i.e
Eh???/n.
what actually these tri graph characters are?
any idea why ,when and... (1 Reply)
Discussion started by: MrUser
1 Replies
5. Shell Programming and Scripting
My file looks like this:
But I would like to 'trim' all sequences to the same lenght 32 characters, keeping intact all the identifier (>GHXCZCC01AJ8CJ)
Would it be possible to use awk to perform this task? (2 Replies)
Discussion started by: Xterra
2 Replies
6. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
7. Shell Programming and Scripting
Hello to all,
I would like to search sequences of bytes inside big binary file.
The bin file contains blocks of information, each block begins is estructured as follow:
1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33.
2- Next... (59 Replies)
Discussion started by: Ophiuchus
59 Replies
8. Shell Programming and Scripting
Hi Gurus,
Escape sequences \n, \t, \b, \t, \033(1m are not working.
I just practiced these escape sequences. It worked first. Later its not working.
Also the command - echo inside the script editor shows as shaded by a color. Before that echo inside the script editor wont show like this.... (4 Replies)
Discussion started by: GaneshAnanth
4 Replies
9. Shell Programming and Scripting
Hi,
Please would anybody help find the missing sequences in the filename of the files?
I have for example these files:
OOOAAAALOGS400001.txt
OOOAAAALOGS400002.txt
OOOAAAALOGS400003.txt
OOOBBBBLOGS40001.txt
OOOBBBBLOGS400002.txt
OOOBBBBLOGS400003.txt
OOOCCCCLOGS400001.txt... (13 Replies)
Discussion started by: arrals_vl
13 Replies
LEARN ABOUT DEBIAN
teeworlds
Teeworlds(6) Teeworlds(6)
NAME
teeworlds - Teeworlds Client
SYNOPSIS
teeworlds ["option value"]...
DESCRIPTION
This manual page documents briefly the teeworlds command.
teeworlds is the Teeworlds client. It is an online multi-player platform 2D shooter.
OPTIONS
(Note that this is not a full list!)
bind key command [value]
exec configfile
connect server:port
player_name <string>
password <string>
logfile <string>
cl_cpu_throttle <binary>
cl_editor <binary>
b_filter_string <string>
b_filter_full <binary>
b_filter_empty <binary>
b_filter_pw <binary>
b_filter_ping <binary>
b_filter_gametype <integer>
b_filter_compatversion <binary>
b_sort <integer>
b_sort_order <binary>
b_max_requests <integer>
snd_rate <integer>
snd_enable <binary>
snd_volume <integer>
snd_noactive_mute <binary>
gfx_screen_width <integer>
gfx_screen_height <integer>
gfx_fullscreen <binary>
gfx_color_depth <integer>
gfx_clear <binary>
gfx_vsync <binary>
gfx_display_all_modes <binary>
gfx_texture_compression <binary>
gfx_high_detail <binary>
gfx_texture_quality <binary>
gfx_fsaa_samples <integer>
gfx_refresh_rate <integer>
gfx_debug_resizable <binary>
inp_mousesens <integer>
debug <binary>
cl_predict <binary>
cl_nameplates <binary>
cl_nameplates_always <binary>
cl_autoswitch_weapons <binary>
cl_showfps <binary>
cl_airjumpindicator <binary>
cl_threadsoundloading <binary>
cl_warning_tuning <binary>
cl_mouse_deadzone <integer>
cl_mouse_followfactor <integer>
cl_mouse_max_distance <integer>
cl_motd_time <integer>
ed_showkeys <binary>
cl_flow <binary>
cl_show_welcome <binary>
player_user_custom_color <binary>
player_color_body <integer>
player_color_feet <integer>
player_skin <integer>
dbg_tuning <binary>
ui_page <integer>
ui_server_addess <string>
ui_scale <integer>
ui_color_hue <integer>
ui_color_sat <integer>
ui_color_lht <integer>
ui_color_alpha <integer>
SEE ALSO
teeworlds-server(6)
AUTHOR
Teeworlds was written by Magnus Auvinen.
This manual page was written by Jack "jscinoz" Coulter <jscinoz@gmail.com> for the Debian project (but may be used by others). Permission
is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
April 14 , 2008 Teeworlds(6)