04-24-2008
cat suppliersList.txt
112|MIMUS|krish@google.com
113|MIMIRE|krish@google.com
114|MIMCHN|krish@google.com
115|CEL|krish@google.com
108|UGEN|krishn@google.com
109|SLAND|krish@google.com
Script is
awk -F"|" ' BEGIN {OFS="\n"}
{print "No " $1 , "Name " $2 ,"email " $3 , "\n" }' suppliersList.txt
No 112
Name MIMUS
email
krish@google.com
No 113
Name MIMIRE
email
krish@google.com
No 114
Name MIMCHN
email
krish@google.com
No 115
Name CEL
email
krish@google.com
No 108
Name UGEN
email
krishn@google.com
No 109
Name SLAND
email
krish@google.com
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a receive script file which had lots of direcorties to process,but now,I don't want to hardcode them,I need input the directory name in a Property.txt file,then write shell code to read the directory name from Property.txt to the script file so I can get flexible on it.But when I ran the sh... (3 Replies)
Discussion started by: joshuaduan
3 Replies
2. HP-UX
I'm trying to rename a file name but the original file has a special character caused by typo. I've tried numerous combination of characters but the file name (original) is still not being recognized which in turn, would not allow me to rename the file.
Can someone help? The filename is a... (1 Reply)
Discussion started by: genzbeat
1 Replies
3. UNIX for Advanced & Expert Users
Hi
I have an xml file which has multiple xml records..
I don't know how to read those records and pipe them to another shell command
the file is like
<abc>z<def>y<ghi>x........</ghi></def></abc> (1st record)
<jkl>z<mno>y<pqr>x........</pqr></mno></jkl> (2nd record)
Each record end... (4 Replies)
Discussion started by: aixjadoo
4 Replies
4. Solaris
I am new to unix shell scripting, i was going through the existing shell scripts but couldn't able to get enough information on below syntaxes,i mean the symbols $# & $? used in the if loop. what exactly are they? what is the inline meaning, Could you please throw some light.
Examples:
1) ... (4 Replies)
Discussion started by: Ariean
4 Replies
5. Shell Programming and Scripting
Hi,
Im finding some files form a specific path and den writing those files to another file as:
find /SYS/admin/data/xml -name '*.xml' -type f ! -newer file1 -print >>out.xml
and when im doing cat out.xml im getting like dis:
... (2 Replies)
Discussion started by: ss_ss
2 Replies
6. Shell Programming and Scripting
Hello All,
We are getting files from sftp server through file transmission protocol & after transmission we are removing all the control M
(^M) characters from them.we are expecting various kind of special characters in the files.
we are tried removing '^M' characters through 'dos2unix' command... (2 Replies)
Discussion started by: Aquilis
2 Replies
7. Shell Programming and Scripting
Hello all
I am getting data like
col1 | col2 | col3
asdafa | asdfasfa | asf*&^sgê
345./ |sdfasd23425^%^&^ | sdfsa23
êsfsfd | sf(* | sdfsasf
My requirement is like
I have to to read the file and remove all special characters and hex characters ranging form 00-1f from 1st column, remove %"'... (1 Reply)
Discussion started by: vasuarjula
1 Replies
8. Shell Programming and Scripting
When i try to vi a file, see some extra characters "l^H^@^@^@^@^F^@"...but when i cat the same file i am not seeing this...How do i remove this??? (4 Replies)
Discussion started by: problemchild
4 Replies
9. UNIX for Dummies Questions & Answers
Is there any command to eliminate Header and footer from EBCDIC file (4 Replies)
Discussion started by: abhilashnair
4 Replies
10. UNIX for Dummies Questions & Answers
Can anybody help me figure this out? Thank you in advance.
I have a input file. It shows like this:
Query= random content
random content
> random content
random content
> random content
> random content
Query= random content
random content
random content
> random content
> random... (1 Reply)
Discussion started by: yuejian
1 Replies
LEARN ABOUT DEBIAN
eiskaltdcpp-daemon
eiskaltdcpp-daemon(1) General Commands Manual eiskaltdcpp-daemon(1)
NAME
eiskaltdcpp-daemon - simple daemon controllable via XMLRPC or JSONRPC
SYNOPSIS
eiskaltdcpp-daemon -d
eiskaltdcpp-daemon <Key>
DESCRIPTION
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the
original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software.
COMMAND LINE OPTIONS
A summary of options is included below.
-d,--daemon"
Run program as daemon
-v,--verbose"
Verbose mode
-D,--debug"
Debug mode
-P <port>,--port=<port>"
Set port for XMLRPC or JSONRPC (default: 3121)
-L <ip>,--ip=<ip>"
Set IP address for XMLRPC or JSONRPC (default: 127.0.0.1)
-p file,--pidfile=<file>"
Write daemon process ID to <file>
-c dir,--confdir=<dir>"
Store config in <dir>
-l <dir>,--localdir=<dir>"
Store local data (cache, temp files) in <dir> (defaults is equal confdir)
-S <file>,--rpclog=<file>"
Write xmlrpc log to <file> (default: /tmp/eiskaltdcpp-daemon.xmlrpc.log)
-U <uripath>,--uripath=<uripath>"
Set UriPath for xmlrpc abyss server to <uripath> (default: /eiskaltdcpp)
-h, --help
Display help and exit
-V, --version
Show version information and exit
FILES
~/.config/eiskaltdc++/ or $XDG_CONFIG_HOME/eiskaltdc++/
Directory with user configuration files
DOCUMENTATION
Detail documentation about available XMLRPC and JSONRPC methods can be found in our wiki:
http://code.google.com/p/eiskaltdc/wiki/XMLRPC
http://code.google.com/p/eiskaltdc/wiki/JSONRPC
AUTHOR
This program was written by EiskaltDC++ developers team (see file AUTHORS).
EiskaltDC++ homepage: http://code.google.com/p/eiskaltdc/
BUG REPORTS
If you find a bug in EiskaltDC++ please report it here: http://code.google.com/p/eiskaltdc/issues/list
This manual page was written by Boris Pek <tehnick-8@mail.ru> for the Debian project (and may be used by others).
19 Feb 2012 eiskaltdcpp-daemon(1)