07-02-2009
Hey scottn,
Thanks for sending me that. Im definitely going to take a look at it.
I dont think I explained my goals. Im still new to all this so I may have stated it wrong. Basically, I want to take a file name (with the path) as an input, and I would like the output to be a computed checksum. I believe the checksum should be a 32 bit sum of all the words I have in the bin file.
I'm going to see what that site gives me scottn but if anyone else has any solutions I'd be more than welcome to hear them. Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an application which has a lot of cout & cerr statements.
This application also opens a log file (for eg a.log).
When this application is run from the inittab file as follows
/bin/sh -c " . /etc/timezone; exec /test"
all the cout & cerr statements are printed in the log file... (1 Reply)
Discussion started by: soorajmu
1 Replies
2. Shell Programming and Scripting
Hello!
I'm using a perl script which calls the time and
date from a remote server using the line
/bin/date -
What is needed in this line to
reduce the output time
5 hours?
Thanks (2 Replies)
Discussion started by: Texan
2 Replies
3. Shell Programming and Scripting
If I do:
cat file | write user
I can cat a file to a users terminal. My question is, how can this user read the input and cat it into a file?
I tried the reverse:
read | file
or
read > file
etc.
But it didn't work. (1 Reply)
Discussion started by: rein
1 Replies
4. Programming
hi
how to read terminal command,
just i want to read all command which write on terminal
so please tell me any system call, api avilable in c for above purpose (6 Replies)
Discussion started by: munnu
6 Replies
5. Shell Programming and Scripting
i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine.
then last week i wrote capture.sh and it... (2 Replies)
Discussion started by: danpaluska
2 Replies
6. UNIX for Dummies Questions & Answers
I have a file named Me_thread_spell.txt that I want to split into smaller files. I want it to be split in each place there is a ;;;. For example,
blah blah blah ;;;
blah bhlah hlabl
awasnceuir
asenduhfoijhacseiodnbfxasd;;;
oabwcuhaweoir;;;
This full file would be three separate files... (7 Replies)
Discussion started by: mschpers
7 Replies
7. HP-UX
for
ga016dgf -> /usr/bin/last | cut -c1-3
Invalid record size. Unable to continue ...
any ideas?
running on
ga016dgf -> uname -a
HP-UX ga016dgf B.11.31 U ia64 1246079591 unlimited-user license
thank you.
Video tutorial on how to use code tags in The UNIX and Linux Forums. (4 Replies)
Discussion started by: Bill L.
4 Replies
8. IP Networking
Hello
I am communicating with two devices using my computer over UDP protocol. The application is running fine. When I monitored the UDP traffic using Wireshark software, I found that there were too many Checksum errors.
Please find attached the png file showing this error. I am about to... (0 Replies)
Discussion started by: AustinCann
0 Replies
9. UNIX for Dummies Questions & Answers
i all, i'm trying to understand a code, i see this line
cat /bin/ls
that have a strange output...can someone explain me what is it? (2 Replies)
Discussion started by: Marina2013
2 Replies
10. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
LEARN ABOUT DEBIAN
shishi_ap_authenticator_cksumraw_set
shishi_ap_authenticator_cksumraw_set(3) shishi shishi_ap_authenticator_cksumraw_set(3)
NAME
shishi_ap_authenticator_cksumraw_set - API function
SYNOPSIS
#include <shishi.h>
void shishi_ap_authenticator_cksumraw_set(Shishi_ap * ap, int32_t authenticatorcksumtype, const char * authenticatorcksumraw, size_t
authenticatorcksumrawlen);
ARGUMENTS
Shishi_ap * ap
structure that holds information about AP exchange
int32_t authenticatorcksumtype
authenticator checksum type to set in AP.
const char * authenticatorcksumraw
input array with authenticator checksum field value to set in Authenticator in AP-REQ.
size_t authenticatorcksumrawlen
length of input array with authenticator checksum field value to set in Authenticator in AP-REQ.
DESCRIPTION
Set the Authenticator Checksum Data in the AP exchange. This is the actual checksum field, not data to compute checksum on and then store
in the checksum field. See also shishi_ap_authenticator_cksumdata_set.
REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site,
the command
info shishi
should give you access to the complete manual.
shishi 1.0.1 shishi_ap_authenticator_cksumraw_set(3)