Hello,
On Sco OpenServer 5, i want to print using the lpr command, no CUPS installed.
I print on an HP LaserJet 4050 on LAN (IP 192.168.x.x)
the printer is installed by HP Network Printer service.
it works fine, but Specials characters, like é, @ or ° print bad characters.
Is there... (5 Replies)
Hi,
I hava log file which has the following output :
Created RELEASE in dist/filename_release_1_0_20090210.zip
Created RELEASE in dist/filename_release_1_1_20090210.zip
Created RELEASE in dist/filename_release_1_3_20090210.zip
Created RELEASE in... (6 Replies)
Hi All,
I have below type file.
abc|asd|pqr|2|2|2
asc|qwe|scf|5|4|4
Pipe location and count is dynamic and coming from a variable.
I want to change it to below files.
(chnage the first pipe to 3 pipes)
abc|||asd|pqr|2|2|2
asc|||qwe|scf|5|4|4
(chnage the second pipe to 4 pipes)... (1 Reply)
Hi Experts,
I have called some.txt with the following content.
oracle HYRDSRVIHUB01 pts/0 TESTIHUB 07-JUN-10 CREATE TABLE
TESTIHUB PHONE ... (12 Replies)
Hi all,
I have a file with some module names as below.
Font::AFM
Data::Grove ---> libxml-perl
Net::LDAP ---> perl-ldap
DBI
XML
....
...
....
and so on ...
The file has some lines with the character " -->" .
Now how can I cut only the last column of the line wherever "-->" is... (4 Replies)
Hi,
I have a file with no blank line anywhere
Its a conf file, The lines between and starts with "#" should be sort out with the first three characters(characters are between (a-z)). and insert a blank space in between the uniq lines. For clear understanding ,pls find the below input file... (11 Replies)
I have following pattern in a file:
00:01:38 UTC
abcd
00:01:48 UTC
00:01:58 UTC
efgh
00:02:08 UTC
00:02:18 UTC
and I need to change something like the following
00:01:38 UTC
abcd
00:01:48 UTC
XXXX
00:01:58 UTC
efgh
00:02:08 UTC
XXXX (6 Replies)
I have a file and I can get the line with a specific pattern. I want to inset # on start of the line.
file.text
====
aa bb cc
bb hh kk
kk ll yy
dd aa kk
rr tt aa
I want to comment out the line with contain "aa"
after running the script
file.text
====
#aa bb cc
bb hh kk
kk ll... (7 Replies)
Hi,
If my first character of a line starts with 2 then after 5th charecter newline character should be inserted.
Input.txt:
a1234567890
2222300007
bsdfsdf888999999
ssdfkjskfdjskfdjd
2899900000000099999999999999
28887777
999999999999999999
Output.txt:
a1234567890
22223
00007... (8 Replies)
Hi Folks,
I have a huge data of the below format
abc #apple 1200 06/23
ghj #orange 1500 06/27
uyt #banana 2300 05/13
efg #vegetable 0700 04/16
After first 3 letters, i have 9 spaces and after fruit there are no specific fixed space, but it varies... (4 Replies)
Discussion started by: jayadanabalan
4 Replies
LEARN ABOUT DEBIAN
zip_fdopen
ZIP_FDOPEN(3) Library Functions Manual ZIP_FDOPEN(3)NAME
zip_fdopen - open zip archive using open file descriptor
LIBRARY
libzip (-lzip)
SYNOPSIS
#include <zip.h>
struct zip * zip_fdopen(int fd, int flags, int *errorp);
DESCRIPTION
The zip archive specified by the open file descriptor fd is opened and a pointer to a
struct zip, used to manipulate the archive, is returned. In contrast to zip_open(3), using the archive can only be opened in read-only
mode. The fd argument may not be used any longer after calling The are specified by or'ing the following values, or 0 for none of them.
ZIP_CHECKCONS Perform additional consistency checks on the archive, and error if they fail.
If an error occurs and errorp is it will be set to the corresponding error code.
RETURN VALUES
Upon successful completion zip_fdopen returns a
struct zip pointer, and fd should not be used any longer, nor passed to close(2). Otherwise, NULL is returned and *errorp is set to indi-
cate the error. In the error case, fd remains unchanged.
ERRORS
The file specified by fd is prepared for use by libzip(3) unless:
[ZIP_ER_INCONS]
Inconsistencies were found in the file specified by path and ZIP_CHECKCONS was specified.
[ZIP_ER_INVAL]
The flags argument is invalid. Not all zip_open(3) flags are allowed for see DESCRIPTION.
[ZIP_ER_MEMORY]
Required memory could not be allocated.
[ZIP_ER_NOZIP]
The file specified by fd is not a zip archive.
[ZIP_ER_OPEN]
The file specified by fd could not be prepared for use by libzip(3).
[ZIP_ER_READ]
A read error occurred; see for details.
[ZIP_ER_SEEK]
The file specified by fd does not allow seeks.
SEE ALSO libzip(3), zip_close(3), zip_error_to_str(3), zip_open(3)AUTHORS
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
NiH February 1, 2010 ZIP_FDOPEN(3)