Anyone know how to set it up so that when at command line in unix (specifically solaris 2.5.1), and you hit the tab it will finish the command with the nearest file that matches? AND how to set it up so using up and down arrows access your previous commands?
Thanks for all the help here, i've had... (3 Replies)
hi all...
i need your help, because i donīt know what to do...
i have a flat file like this:
B065200512312004123111010000061451 000021853
B065200512312004123111020000621907 000417802
B065200512312004123111030000005214 000005861
B065200512312004123111040000120133 000088448
and i need... (5 Replies)
Hi All,
I need a shell script which could insert a sequence number column inside a dat file(pipe delimited).
I have the dat file similar to the one as shown below..
|A|B|C||D|E
|F|G|H||I|J
|K|L|M||N|O
|P|Q|R||S|T
As shown above, the column 4 is currently blank and i need to insert sequence... (5 Replies)
Korn Shell in AIX 6.1
I want to print the below shown pipe (|) separated list line by line.
line=es349889|nhb882309|ts00293|snh03524|bg578835|bg37900|rnh00297|py882201|sg175883
for i in line
do
echo "Hello $line "
done
I wanted to execute the above for loop. But i can't even set the... (3 Replies)
this is Korn shell unix.
The scenario is I have a pipe delimited text file which needs to be customized. say for example,I have a pipe delimited text file with 15 columns(| delimited) and 200 rows. currently the 11th and 12th column has null values for all the records(there are other null columns... (4 Replies)
first of all I thought the argument DONE is necessary for all scripts that have or begin with do statements which I have on my script, However, I still don't completely understand why I am receiving an error I tried adding another done argument statement but didn't do any good.
I appreciate... (3 Replies)
Hi,
I want to insert a value (x) in the 3rd position of each line in a file like below
a|b|c|d|1
a|b|c|d
a|b|c|d|e|1
a|b|cso that output file looks like
a|b|x|c|d|1
a|b|x|c|d
a|b|x|c|d|e|1
a|b|x|cI can do that using perl as below
#!/usr/bin/perl -w
use strict;
#inserting x at... (5 Replies)
Sed command to replace a line in a file using line number from the output of a pipe.
Is it possible to replace a whole line piped from someother command into a file at paritcular line...
here is some basic execution flow..
the line number is 412
lineNo=412
Now i have a line... (1 Reply)
I have a test file that I want to read and insert only certain lines into the
the table based on a filter.
1. Rread the log file 12 Hours back Getdate() -12 Hours
2. Extract the following information on for lines that say "DUMP is
complete"
A. Date
B. Database Name
C.... (2 Replies)
Hi All ,
I have pipe delimiter file with 11 columns . I need to insert 4 empty columns after column 10 . and After 11 column I need to insert a column which is having the same value for all the rows .
My file
1|2|3|4|5|6|7|8|9|10|11
New file
... (11 Replies)
Discussion started by: Hypesslearner
11 Replies
LEARN ABOUT DEBIAN
ipptool
ipptool(1) Apple Inc. ipptool(1)NAME
ipptool - perform internet printing protocol requests
SYNOPSIS
ipptool [ -4 ] [ -6 ] [ -C ] [ -E ] [ -I ] [ -L ] [ -S ] [ -T seconds ] [ -V version ] [ -X ] [ -c ] [ -d name=value ] [ -f filename ] [ -i
seconds ] [ -n repeat-count ] [ -q ] [ -t ] [ -v ] URI filename [ ... filenameN ]
DESCRIPTION
ipptool sends IPP requests to the specified URI and tests and/or displays the results. Each named file defines one or more requests,
including the expected response status, attributes, and values. Output is either a plain text, formatted text, CSV, or XML report on the
standard output, with a non-zero exit status indicating that one or more tests have failed. The file format is described in ipptoolfile(5).
OPTIONS
The following options are recognized by ipptool:
-4 Specifies that ipptool must connect to the printer or server using IPv4.
-6 Specifies that ipptool must connect to the printer or server using IPv6.
-C Specifies that requests should be sent using the HTTP/1.1 "Transfer-Encoding: chunked" header, which is required for conformance by
all versions of IPP. The default is to use "Transfer-Encoding: chunked" for requests with attached files and "Content-Length:" for
requests without attached files.
-E Forces TLS encryption when connecting to the server using the HTTP "Upgrade" header.
-I Specifies that ipptool will continue past errors.
-L Specifies that requests should be sent using the HTTP/1.0 "Content-Length:" header, which is required for conformance by all versions
of IPP. The default is to use "Transfer-Encoding: chunked" for requests with attached files and "Content-Length:" for requests without
attached files.
-S Forces (dedicated) SSL encryption when connecting to the server.
-T seconds
Specifies a timeout for IPP requests in seconds.
-V version
Specifies the default IPP version to use: 1.0, 1.1, 2.0, 2.1, or 2.2. If not specified, version 1.1 is used.
-X Specifies that XML (Apple plist) output is desired instead of the plain text report. This option is incompatible with the -i (inter-
val) and -n (repeat-count) options.
-c Specifies that CSV (comma-separated values) output is desired instead of the plain text output.
-d name=value
Defines the named variable.
-f filename
Defines the default request filename for tests.
-i seconds
Specifies that the (last) file should be repeated at the specified interval. This option is incompatible with the -X (XML plist out-
put) option.
-l Specifies that plain text output is desired.
-n repeat-count
Specifies that the (last) file should be repeated the specified number of times. This option is incompatible with the -X (XML plist
output) option.
-t Specifies that CUPS test report output is desired instead of the plain text output.
-v Specifies that all request and response attributes should be output in CUPS test mode (-t). This is the default for XML output.
COMPATIBILITY
The ipptool program is unique to CUPS.
EXAMPLES
Get a list of completed jobs for "myprinter":
ipptool ipp://localhost/printers/myprinter get-completed-jobs.test
Send email notifications to "user@example.com" when "myprinter" changes:
ipptool -d recipient=mailto:user@example.com ipp://localhost/printers/myprinter create-printer-subscription.test
STANDARD FILES
The following standard files are available:
create-printer-subscription.test
get-completed-jobs.test
get-jobs.test
ipp-1.1.test
ipp-2.0.test
ipp-2.1.test
testfile.jpg
testfile.pdf
testfile.ps
testfile.txt
SEE ALSO ipptoolfile(5),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2010 by Apple Inc.
9 November 2010 CUPS ipptool(1)