12-23-2005
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
am new to unix can any one help me to insert data to afile to a specified
column.
ie to an output file with csv format i should insert some data to 2,3,4 fileds and the data in those fields should move to next fields
eg:
output file
asd,12,12,12,12,1,2,1,1,1,1,1... (10 Replies)
Discussion started by: babu@shell
10 Replies
2. UNIX for Dummies Questions & Answers
I'm directing output to a *.dat file. The first byte is a variable, the second must be a carriage-return (x'0D'). Is there a UNIX equivalent of an ASCII command that will allow me to output this byte? (2 Replies)
Discussion started by: rchuttke
2 Replies
3. Shell Programming and Scripting
I have a file like the format
000002371627240000023716272455577818030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001099001099425%00109925%IPY 2007013120070227Y99991231N YYX SRT0001010125%0000503318882HANDH800 R... (3 Replies)
Discussion started by: vaskarbasak
3 Replies
4. Shell Programming and Scripting
Hi,
i am new to perl scripting.. i am still learing it.. i am asked to write a perl script which should compare 2 coloums of 2 different files. if those 2 coloumn are same the script should store the both the lines in 2 diff files.
these are files,
file 1:
21767016 226112 char
19136520... (3 Replies)
Discussion started by: vasuki
3 Replies
5. Shell Programming and Scripting
Hi i have a file and i want to add the coloum values
like
9067 is coming twice here so o/p willbe like
9067,sum of 3rd coloum,sum of 4th coloum
9015 is coming 0nce then o/p
9015,15,6
sum is happening based on first coloum it will add all the third coloum and 4th coloum value where first... (1 Reply)
Discussion started by: aaysa123
1 Replies
6. Shell Programming and Scripting
Can anyone help.
I have sql to CSV showing header with ALIAS names but I want to generate CSV file with user friendly name i.e from AIAN8 to Adress Book Number etc.
SELECT AIAN8 || , || F0101.ABALPH || , || AICO ||
showing following below in CSV output intead of above
Address... (4 Replies)
Discussion started by: s1a2m3
4 Replies
7. Shell Programming and Scripting
Hi,
I've written a script to interrogate all fibre devices on our systems and output the WWNs to a file. I now want to insert a ":" every 2 characters into the WWN so I can write another script to create aliases within the SAN.
So the current file has WWNs in the following format;... (2 Replies)
Discussion started by: h8mmer
2 Replies
8. Shell Programming and Scripting
Hi All
I got one problem and want your help,what i want to do is
Input
123 key0=A;B;C;:key1=X;Y;Z;:
here 123 is a username
I should search the username (in this case it is 123) in file and if found it should insert the additional string D as below
Here 123 and key are tab seperated
... (6 Replies)
Discussion started by: parthmittal2007
6 Replies
9. Linux
How can I insert End of line (EOL) in Unix to file. Thanks (5 Replies)
Discussion started by: mrn6430
5 Replies
10. UNIX for Dummies Questions & Answers
Hello
Is there any sed command to insert a line after nth line... have a file of 500000 lines
Thanks (4 Replies)
Discussion started by: Madiouma Ndiaye
4 Replies
LEARN ABOUT DEBIAN
drs_tool
drslib() drslib()
NAME
drs_tool - Command-line interface to DRSLIB
SYNPOSIS
DESCRIPTION
USAGE
Usage
Usage: drs_tool [command] [options] [drs-pattern]
command: list list publication-level datasets todo show file operations pending for the next version upgrade make changes to
the selected datasets to upgrade to the next version mapfile make a mapfile of the selected dataset history list all versions of the
selected dataset init initialise CMIP5 product detection data
OPTIONS
--help display this help message and exit
--version
output version information and exit
-h, --help show this help message and exit
-R ROOT, --root=ROOT
Root directory of the DRS tree
-I INCOMING, --incoming=INCOMING
Incoming directory for DRS files. Defaults to <root>/output
-a ACTIVITY, --activity=ACTIVITY
Set DRS attribute activity for dataset discovery
-p PRODUCT, --product=PRODUCT
Set DRS attribute product for dataset discovery
-i INSTITUTE, --institute=INSTITUTE
Set DRS attribute institute for dataset discovery
-m MODEL, --model=MODEL
Set DRS attribute model for dataset discovery
-e EXPERIMENT, --experiment=EXPERIMENT
Set DRS attribute experiment for dataset discovery
-f FREQUENCY, --frequency=FREQUENCY
Set DRS attribute frequency for dataset discovery
-r REALM, --realm=REALM
Set DRS attribute realm for dataset discovery
-v VERSION, --version=VERSION
Force version upgrades to this version
-P FILE, --profile=FILE
Profile the script exectuion into FILE
--detect-product
Automatically detect the DRS product of incoming data
REQUIRES
FILES
drs_tool uses metaconfig to configure and store configuration information. Its configuration may be found then in a metaconfig.conf file,
in /etc/metaconfig/metaconfig.conf on Debian systems, which may be overriden by $HOME/.metaconfig.conf or ./metaconfig.conf
ENVIRONMENT VARIABLES
The variable METACONF_CONF
VERSION
0.3.0a3
BUGS
To query and report bugs in drs_tool, please use reportbug on Debian systems.
SEE ALSO
http://esgf.org/esgf-drslib-site/index.html
AUTHOR
DRSLIB was written by Stephen Pascoe, STFC.SC.UK. This manual page was written by Alastair McKinstry.
drslib()