can anyone help me with stripping an absolute filepath? I did a search on this topic but didnt find anything but maybe I didn't look hard. Anyway, would really appreciate it if anyone could help me. I am a new unix user so this might be a simple issue but I am stuck, don't really understand the use... (4 Replies)
we are ftping zipped up files from the development server to the production server daily.The files are in this format filename.dat.20061231.12131.gz
I have to unzip the file (i can do that with gunzip) and then strip out the timestamp after the .dat extension.
I can do something like this
... (4 Replies)
Hello! I have content in a log file that consists of a lot of spaces before and after a 3 digit integer which I need to strip out before I can use the file. The number of digits can change. When I had my logic in a 'for' loop and could output into another file, it was fine. but it turns out... (10 Replies)
Hi All;
Having a problem with a file..
the file contains the following data... (a snapshot)
1331F9E9DB7C2BB80EAEDE3A8F043B94,AL7 1DZ,M,50
186FDF93E1303DBA217279EC3671EA91,NG5 1JU,M,24
3783FFAF602015056A8CD21104B1AAAF,CH42 4NQ,M,17
It has 3 columns sepreated by a ,
the second column... (7 Replies)
This command gives me just the filename without any extension:
evrvar =`echo filename.tar | sed 's/\.*$//'`
I am trying to make a change to this command... to make it work for... filename.tar.gz to get just the filename....
currently the command gives me filename.tar by removing only gz... I... (9 Replies)
I have a variable that has an absolute path for a file on my computer. This dynamically changes. Is there a way I can assign two new variables from that one?
variable: /Users/keith/Desktop/test/file.mov
1) filename - no path or extention ....so just....file
2) path no filename or... (3 Replies)
Hello, I am the CEO of Grand Tech Corporation. We are launching Linux NT and forgive me, but I do not know how to strip binaries down in Mandriva Linux. Can someone tell me a way to?:b: (2 Replies)
Hi all,
I didn't use SED for 20 years and was never an expert. So my current knowledge is about zero. Please be patient with me. I'm neither a native speaker.
I have a huge dictionary file and want the rest of the lines stripped. Everything after (and including) the "/" should be stripped. I... (2 Replies)
Discussion started by: Hinnerk2005
2 Replies
LEARN ABOUT MOJAVE
tiffwriterawstrip
TIFFWriteRawStrip(3tiff) Introduction to Library Functions TIFFWriteRawStrip(3tiff)NAME
TIFFWriteRawStrip - write a strip of raw data to an open TIFF file
SYNOPSIS
#include <tiffio.h>
tsize_t TIFFWriteRawStrip(TIFF* tif, tstrip_t strip, tdata_t
buf, tsize_t size)
DESCRIPTION
Append size bytes of raw data to the specified strip.
EXTENDED DESCRIPTION
The strip number must be valid according to the current settings of the ImageLength and RowsPerStrip tags. An image may be dynamically
grown by increasing the value of ImageLength prior to each call to TIFFWriteRawStrip.
Diagnostics
All error messages are directed to the TIFFError(3tiff) routine.
%s: File not open for wrThenfile was opened for reading, not writing.
Can not write scanlines Theaimagedismassumed to be organized in tiles because the TileWidth and TileLength tags have been set with TIFFSet-
Field(3tiff).
%s: Must set "ImageWidthTheeimagewwidthghastnot been set before the first write. See TIFFSetField(3tiff) for information on how to do this.
%s: Must set "PlanarConfTheraorganization woftidataahas not been defined before the first write. See TIFFSetField(3tiff) for information on
how to do this.
%s: No space for strip aThere"was not enough space for the arrays that hold strip offsets and byte counts.
%s: Strip %d out of rangThemspecified strip is not a valid strip according to the currently specified image dimensions.
RETURN VALUES -1 is returned if an error was encountered. Otherwise, the value of size is returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWTiff |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO libtiff(3), TIFFOpen(3tiff), TIFFWriteEncodedStrip(3tiff), TIFFWriteScanline(3tiff)NOTES
This man page was originally written by Sam Leffler. Updated by Breda McColgan, Sun Microsystems Inc., 2004.
SunOS 5.10 05 Apr 2004 TIFFWriteRawStrip(3tiff)