Hello
I have a output file that contains the next info:
The objective is delete host_name & adress an put ; to separate host_name and address:
I try with cut, but any result
Could you help me? Thanks
Last edited by Scrutinizer; 10-03-2012 at 07:02 AM..
Reason: code tags instead of quote tags
I want to find out Row which starts with, the user specified details to a script.
In general I know what command to be given.
awk '$0~/^Vi/' BReject
But I need to pass on $1 param of command line at the place of 'Vi'.
I tried with -v subst=$1
awk -v subst=$1 '$0~/^subst/' BReject
But it... (5 Replies)
i need to seperate values seperated by delimiters and assign it to an array.. can u plz help me on that.
Variables = "asd,rgbh,(,rty,got,),sroe,9034,"
i need to assign the variables into arrays..
like..
var=asd
var=rgbh.. and so on
how do i do this. i need to reuse the values stored in... (6 Replies)
Hi I am new to shell scripting and trying to get values from a text file,
I have a text file with values seperated with "|". like
aga|120220090525|120220090525|120220090525|120220090530
bab|120220090530|120220090530|120220090535|120220090535|120220090535... (4 Replies)
Hello
I need to pass some environment parameters to a datastage job and am getting an error when trying to send the complete concatinated variable. I have decided to parse out just the values and send as parameters but am struggling to find the best way to do this (actually I am not very... (3 Replies)
Hello. I'm trying to delete one character in determinate position.
Example:
qwEtsdf123Ecv34
<delete character in positión 3>
Result:
qwtsdf123Ecv34
Plase, help me.
Thanks (4 Replies)
Hi
Description of input file I have:
-------------------------
1) CSV with double quotes for string fields.
2) Some string fields have Comma as part of field value.
3) Have Duplicate lines
4) Have 200 columns/fields
5) File size is more than 10GB
Description of output file I need:... (4 Replies)
Hello,
I have a tab-delimited table that may contain 11,12 or 13 columns. Depending on the number of columns, I want to cut and get a sub table as shown below. However, the awk commands in the code seem to be an issue. What should I be doing differently?
#cut columns 1-2,4-5,11 when 12 &... (3 Replies)
Hi
what i want:
listing files in a special range
ls -lrt 20120601{05..06}*
...
-rw-rw-r-- 1 imp imp 279 1. Jun 07:51 201206010550
-rw-rw-r-- 1 imp imp 279 1. Jun 07:01 201206010600
-rw-rw-r-- 1 imp imp 279 1. Jun 07:11 201206010610
-rw-rw-r-- 1 imp imp 279 1. Jun 07:21... (1 Reply)
I have a string of source files
ENBL_PX11_LIBSRC = pltsub.f xpltlib.f xbuplot.cI want to replace .f and .c with .o
to get
ENBL_PX11_LIBOBJ = pltsub.o xpltlib.o xbuplot.o
However I am having trouble doing this with subst. (5 Replies)
Hi All,
We have a requirement of picking nth position value by using cut command. value would be delimited by any symbols. We have to pass delimited value and postition to get the value in a string.
ex.
echo "A,B,C,D,E" |cut -d "," -f3
echo "A|B|C|D|E"|cut -d "|" -f2
Kindly frame the... (5 Replies)
Discussion started by: KK230689
5 Replies
LEARN ABOUT OSF1
xrx
XRX(1) General Commands Manual XRX(1)NAME
XRX - helper program
SYNOPSIS
xrx [-toolkitoption...] filename
DESCRIPTION
The helper program may be used with any Web browser to interpret documents in the RX MIME type format and start remote applications.
xrx reads in the RX document specified by its filename, from which it gets the list of services the application wants to use. Based on this
information, xrx sets the various requested services, including creating authorization keys if your X server supports the SECURITY exten-
sion. It then passes the relevant data, such as the X display name, to the application through an HTTP GET request of the associated CGI
script. The Web server then executes the CGI script to start the application. The client runs on the web server host connected to your X
server.
INSTALLATION
You need to configure your web browser to use xrx for RX documents. Generally the following line in your $HOME/.mailcap is enough:
application/x-rx; xrx %s
However, you may need to refer to your web browser's documentation for exact instructions on configuring helper applications.
Once correctly configured, your browser will activate the helper program whenever you retrieve any document of the MIME type application/x-
rx.
OPTIONS
The xrx helper program accepts all of the standard X Toolkit command line options such as: This option specifies a resource string to be
used. There may be several instances of this option on the command line.
RESOURCES
The application class name of the xrx program is Xrx and it understands the following application resource names and classes: Specifies
whether an X server firewall proxy (see xfwp) is running and should be used. Default is ``False.'' The web servers for which the X server
firewall proxy should not be used (only relevant when xrxHasFirewallProxy is ``True''). Its value is a comma separated list of mask/value
pairs to be used to filter internal web servers, based on their address. The mask part specifies which segments of the address are to be
considered and the value part specifies what the result should match. For instance the following list: 255.255.255.0/198.112.45.0,
255.255.255.0/198.112.46.0 matches the address sets: 198.112.45.* and 198.112.46.*. More precisely, the test is (address & mask) == value.
The web servers for which LBX should not be used. The resource value is a list of address mask/value pairs, as previously described. The
web servers from which remote applications should be run as trusted clients. The default is to run remote applications as untrusted
clients. The resource value is a list of address mask/value pairs, as previously described.
ENVIRONMENT
The xrx helper program uses the standard X environment variables such as ``DISPLAY'' to get the default X server host and display number.
If the RX document requests X-UI-LBX service and the default X server does not advertise the LBX extension, xrx will look for the environ-
ment variable ``XREALDISPLAY'' to get a second address for your X server and look for the LBX extension there. When running your browser
through lbxproxy you will need to set XREALDISPLAY to the actual address of your server if you wish remote applications to be able to use
LBX across the Internet.
If the RX document requests XPRINT service, xrx looks for the variable ``XPRINTER'' to get the printer name and X Print server address to
use. If the server address is not specified as part of XPRINTER, xrx uses the first one specified through the variable ``XPSERVERLIST''
when it is set. When it is not xrx then tries to use the video server as the print server. If the printer name is not specified via
XPRINTER, xrx looks for it in the variables ``PDPRINTER'', then ``LPDEST'', and finally ``PRINTER''
If you are using a firewall proxy, xrx will look for ``PROXY_MANAGER'' to get the address of your proxy manager (see proxymngr). When not
specified it will use ":6500" as the default.
KNOWN BUG
When an authorization key is created for a remote application to use the X Print service, the helper program has to create the key with an
infinite timeout since nobody knows when the application will actually connect to the X Print server. Therefore, in this case, the helper
program stays around to revoke the key when the application goes away (that is when its video key expires). However, if the helper program
dies unexpectedly the print authorization key will never get revoked.
SEE ALSO
lbxproxy (1),
The RX Document specification
AUTHOR
Arnaud Le Hors, X Consortium
XRX(1)