10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a text file which i am generating from few sqls.
format is like :
col1 col2 col3 col4 col5
1001 DONE ABC 17-sep-14 12:02:05
1001 DONE ABC 17-sep-14 12:02:05
1001 DONE ABC 17-sep-14 12:02:55
1001 REDONE ABC ... (6 Replies)
Discussion started by: deepakiniimt
6 Replies
2. HP-UX
Hi,
I have a multihomed system HP-UX with two NIC cards having IP address 10.9.0.13 & 10.9.0.45
I have two weblogic servers running one listening on "10.9.0.13" and the other on "10.9.0.45"
Given a PID how is it possible to extract the IP Address that the weblogic server is using and... (1 Reply)
Discussion started by: mohtashims
1 Replies
3. Shell Programming and Scripting
I have a strange situation of sorting and merging two files based on similar columns
previusly both files has same count of records so, I made below way which is working fine until they reduced the count of one files .
I.e. some times the count of records of both will same and some times it... (16 Replies)
Discussion started by: manas_ranjan
16 Replies
4. UNIX for Dummies Questions & Answers
Hi
I had deleted important files from my company server :(
the server is HPUX
and i don't know how to undo rm command or how to restore the files ..
iam appreciate for any help
Thanx ... (5 Replies)
Discussion started by: Eisa
5 Replies
5. Shell Programming and Scripting
Hi
All,
How can you sort a file that is doubled space ( where even number lines are blank lines) and still preserves the blank lines?
You can use grep,sed and regular expression.
Thanks
Vishal (4 Replies)
Discussion started by: vishalpatel03
4 Replies
6. Shell Programming and Scripting
Hi,
I'm looking for someone who can think in sed. Basically, I need the trailing characters on every line in a file to be deleted. These characters are all in capitals, and always follow a number, but they often vary in number
For instance, on the line:
2006_10_9_p20_TALK
I'd want to... (4 Replies)
Discussion started by: Laurel Maury
4 Replies
7. Filesystems, Disks and Memory
Hi, Im trying to take a database backup. one of the files is 26 GB. I am using cp -pr to create a backup copy of the database. after the copying is complete, if i do du -hrs on the folders i saw a difference of 2GB.
The weird fact is that the BACKUP folder was 2 GB more than the original one!
... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies
8. UNIX for Advanced & Expert Users
hello..what is the current situation or lastest version of UNIX?? Is there any where i can read more about it?? (2 Replies)
Discussion started by: joanne6298
2 Replies
9. UNIX for Dummies Questions & Answers
Hey,
I have a problem with nslookup under the newly installed mandrake 9.1, and as I see now also under Redhat 8.0
I have a pc called evo with the ip 10.0.0.1 which entered correctly in the /etc/hosts file. Connection to the internet is via an adsl-router. I have the nameservers from my... (2 Replies)
Discussion started by: mod
2 Replies
10. UNIX for Dummies Questions & Answers
Well, I hope this way you will respond to my inquiries.
I have 4 unix servers,with static ips (though i dont think this is an issue)....i can telnet and rlogin from one to the other....if i FTP from on et othe other and try to execute :
cd /user return
/user : no such file or... (1 Reply)
Discussion started by: BAM
1 Replies
TIFFWriteDirectory(3T) TIFFWriteDirectory(3T)
NAME
TIFFWriteDirectory, TIFFRewriteDirectory - write the current directory in an open TIFF file
SYNOPSIS
#include <tiffio.h>
int TIFFWriteDirectory(TIFF* tif)
int TIFFRewriteDirectory(TIFF* tif)
DESCRIPTION
TIFFWriteDirectory will write the contents of the current directory to the file and setup to create a new subfile in the same file. Appli-
cations only need to call TIFFWriteDirectory when writing multiple subfiles to a single TIFF file. TIFFWriteDirectory is automatically
called by TIFFClose and TIFFFlush to write a modified directory if the file is open for writing.
The TIFFRewriteDirectory function operates similarly to TIFFWriteDirectory but can be called with directories previously read or written
that already have an established location in the file. It will rewrite the directory, but instead of place it at it's old location (as
TIFFWriteDirectory would) it will place them at the end of the file, correcting the pointer from the preceeding directory or file header to
point to it's new location. This is particularly important in cases where the size of the directory and pointed to data has grown, so it
won't fit in the space available at the old location.
RETURN VALUES
1 is returned when the contents are successfully written to the file. Otherwise, 0 is returned if an error was encountered when writing
the directory contents.
DIAGNOSTICS
All error messages are directed to the TIFFError(3T) routine.
Error post-encoding before directory write. Before writing the contents of the current directory, any pending data are flushed. This mes-
sage indicates that an error occurred while doing this.
Error flushing data before directory write. Before writing the contents of the current directory, any pending data are flushed. This mes-
sage indicates that an error occurred while doing this.
Cannot write directory, out of space. There was not enough space to allocate a temporary area for the directory that was to be written.
Error writing directory count. A write error occurred when writing the count of fields in the directory.
Error writing directory contents. A write error occurred when writing the directory fields.
Error writing directory link. A write error occurred when writing the link to the next directory.
Error writing data for field "%s". A write error occurred when writing indirect data for the specified field.
Error writing TIFF header. A write error occurred when re-writing header at the front of the file.
Error fetching directory count. A read error occurred when fetching the directory count field for a previous directory. This can occur
when setting up a link to the directory that is being written.
Error fetching directory link. A read error occurred when fetching the directory link field for a previous directory. This can occur when
setting up a link to the directory that is being written.
SEE ALSO
libtiff(3T), TIFFOpen(3T), TIFFError(3T), TIFFReadDirectory(3T), TIFFSetDirectory(3T)
September 26, 2001 TIFFWriteDirectory(3T)