Sponsored Content
Full Discussion: Cksum file1 confusion
Top Forums Shell Programming and Scripting Cksum file1 confusion Post 302331552 by TeamUSA on Monday 6th of July 2009 02:02:33 PM
Old 07-06-2009
I've been using both cksum and md5 and neither will output the checksum that i want. I am quite positive that the file is correct, but these checksums do not match.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

cksum question

Hi there, I have a query about cksum. I'm running a script on the Unix box and in a script the cksum result differs from when I run it manually. As far as I can see the file is not being changed, is there any other times that the cksum would be different. (4 Replies)
Discussion started by: rjsha1
4 Replies

2. Shell Programming and Scripting

The cksum Problem

Hi, I have a working script, well it works on my machine but when I try it on others the cksum section does not work properly (I know the scripting is not of a high quality but I'm just trying to get it working) Heres the script: #!/bin/sh case $# in 0) echo "usage: enshar filename... (7 Replies)
Discussion started by: Dim-Wit
7 Replies

3. Shell Programming and Scripting

using cksum

hi, I am trying to use the cksum feature in unix. when i make a call to it i get returned something along the lines of: 4603435 14 file3 how do i get the first part of this response only; i.e: 4603435 I'm trying to use at a way without the use of sed and creating temp... (4 Replies)
Discussion started by: leeRoberts2007
4 Replies

4. UNIX for Advanced & Expert Users

Cksum dependencies

Hi, On what factors does the cksum depend. If i build 2 machines exactly the same, then can i get the checksum of 2 compiled files same. Thanks (3 Replies)
Discussion started by: vibhor_agarwali
3 Replies

5. Shell Programming and Scripting

EEPROM CKSUM? what is this?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM cksum,... (1 Reply)
Discussion started by: TeamUSA
1 Replies

6. Solaris

cat file1 > file1

I have file1 with the contents this is file1 when i do cat file1 , the output is this is file1 when i run cat file1 > file1 , I receive the following message cat: input file1 is output (3 Replies)
Discussion started by: asalman.qazi
3 Replies

7. UNIX for Dummies Questions & Answers

if matching strings in file1 and file2, add column from file1 to file2

I have very limited coding skills but I'm wondering if someone could help me with this. There are many threads about matching strings in two files, but I have no idea how to add a column from one file to another based on a matching string. I'm looking to match column1 in file1 to the number... (3 Replies)
Discussion started by: pathunkathunk
3 Replies

8. UNIX for Dummies Questions & Answers

Compare file1 and file2, print matching lines in same order as file1

I want to print only the lines in file2 that match file1, in the same order as they appear in file 1 file1 file2 desired output: I'm getting the lines to match awk 'FNR==NR {a++}; FNR!=NR && a' file1 file2 but they are in sorted order, which is not what I want: Can anyone... (4 Replies)
Discussion started by: pathunkathunk
4 Replies

9. Shell Programming and Scripting

awk to search field2 in file2 using range of fields file1 and using match to another field in file1

I am trying to use awk to find all the $2 values in file2 which is ~30MB and tab-delimited, that are between $2 and $3 in file1 which is ~2GB and tab-delimited. I have just found out that I need to use $1 and $2 and $3 from file1 and $1 and $2of file2 must match $1 of file1 and be in the range... (6 Replies)
Discussion started by: cmccabe
6 Replies
fitscheck(1)							   PyFITS 3.0.7 						      fitscheck(1)

NAME
fitscheck - script to detect and fix FITS standards violations SYNOPSIS
fitscheck [OPTION]... [FILE]... DESCRIPTION
fitscheck is a command line script based on pyfits for verifying and updating the CHECKSUM and DATASUM keywords of FITS files. itscheck can also detect and often fix other FITS standards violations. fitscheck facilitates re-writing the non-standard checksums originally gen- erated by pyfits with standard checksums which will interoperate with cfitsio. fitscheck will refuse to write new checksums if the checksum keywords are missing or their values are bad. Use --force to write new check- sums regardless of whether or not they currently exist or pass. Use --ignore-missing to tolerate missing checksum keywords without com- ment. OPTIONS
-h, --help Display terse usage information (help). -k [standard | nonstandard | either | none], --checksum=[standard | nonstandard | either | none] Choose FITS checksum mode or none. Defaults to standard. -w, --write Write out file checksums and/or FITS compliance fixes. -f, --force Do file update even if original checksum was bad. -c, --compliance Do FITS compliance checking, fix if possible. -i, --ignore-missing Ignore missing checksums. -v, --verbose Generate extra output. EXAMPLES
% fitscheck --checksum either --write *.fits Verify and update checksums, tolerating non-standard checksums, updating to standard checksum. % fitscheck --write --force *.fits Write new checksums, even if existing checksums are bad or missing. % fitscheck --compliance *.fits Verify standard checksums and FITS compliance without changing the files. % fitscheck --checksum nonstandard *.fits Verify original nonstandard checksums only. % fitscheck --checksum none --compliance --write *.fits Only check and fix compliance problems, ignoring checksums. % fitscheck *.fits Verify standard interoperable checksums. % fitscheck --checksum none --write *.fits Delete checksum keywords. fitscheck June 2012 fitscheck(1)
All times are GMT -4. The time now is 03:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy