Sponsored Content
Full Discussion: A little help please
Top Forums Shell Programming and Scripting A little help please Post 302145589 by immyakram on Wednesday 14th of November 2007 05:21:14 PM
Old 11-14-2007
Iv created a file called filex and i have inserted the env details to it.

Did this by touch filex
then env > filex
checked to see if file has got the correct content in by cat filex.

Then iv created a script by creating a file - touch firstline
and the opening it in vi editor.

Does my first line not have to #!/bin/bash or what u have stated.

get stuck here...
This User Gave Thanks to immyakram For This Post:
 
tiffcmp(1)							   User Commands							tiffcmp(1)

NAME
tiffcmp - compare two TIFF files SYNOPSIS
tiffcmp [options] file1.tif file2.tif DESCRIPTION
tiffcmp compares the tags and data in two files created according to the Tagged Image File Format, Revision 6.0. The schemes used for com- pressing data in each file are immaterial when comparing data. Files are compared on a scanline-by-scanline basis after decompression. Most directory tags are checked, notable exceptions are GrayResponseCurve, ColorResponseCurve, and ColorMap tags. Data is not compared if any of the BitsPerSample, SamplesPerPixel, or ImageWidth values are not equal. By default, tiffcmp terminates if any difference is encountered. OPTIONS
The following options are supported: -l List each byte of image data that differs between the files. -t Ignore any differences in directory tags. OPERANDS
The following operands are supported: filex.tif The names of the TIFF files to be compared. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWTiff | +-----------------------------+-----------------------------+ |Interface stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
pal2rgb(1), tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3) NOTES
Tags that are not recognized by the library are not compared. Such tags may also generate spurious diagnostics. Updated by Breda McColgan, Sun Microsystems Inc., 2004. SunOS 5.11 26 Mar 2004 tiffcmp(1)
All times are GMT -4. The time now is 08:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy