9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have 3 columns to display to target file and the display of the columns with specified position in target file.
I have tried with printf command
The Columns position like:
Column1= 0 to 30
Column2=30 to 60
Column3=60 to 90
The source data:
EMPNO,ENAME,SAL
1,11,100
2,22,200... (4 Replies)
Discussion started by: koti_rama
4 Replies
2. Shell Programming and Scripting
I get this error when attempting to run a simple .ksh script. This script runs fine on other servers. What causes this error? (3 Replies)
Discussion started by: ivanachukapawn
3 Replies
3. Shell Programming and Scripting
I need to put the output of the ps -ef command into a string.
echo'n that string must display the output similiar to how we see the output of ps -ef in commandline.
This is the string
message="this is the output of ps command\n\n
`ps -ef`\n\n
Output Complete"
when I echo $message the... (11 Replies)
Discussion started by: Northpole
11 Replies
4. Shell Programming and Scripting
Hello All,
I have a file which appears as follows
a,alpha,abc-xyz,123
b,beta,prq-jkl,543
c,gamma,xyz-mno,957
I have to extract the entire content, except for the data following "-" in the third column. Output should appear as follows.
a,alpha,abc,123
b,beta,prq,543... (2 Replies)
Discussion started by: grajp002
2 Replies
5. Shell Programming and Scripting
I would like to change the format of an integer type number adding zeros to the left of it in a script in bash. For example
number=1
echo $number
00001
Thanks (3 Replies)
Discussion started by: josegr
3 Replies
6. Shell Programming and Scripting
Hi
According with the 'date' command documentation
My question is, which are the possible values for STRING? I have been looking in the man pages but I didn't find anything?
After some googling I have found it can have special values as 'now', 'yesterday' or 'tomorrow'. If it represents... (1 Reply)
Discussion started by: islegmar
1 Replies
7. UNIX for Dummies Questions & Answers
I have a file tmp.out with contents:
20080812 02:41:07
20080812 05:03:04
20080812 05:46:16
How do I format the contents such as:
2008-08-12 02:41:07
2008-08-12 05:03:04
2008-08-12 05:46:16
Thanks,
- CB (2 Replies)
Discussion started by: ChicagoBlues
2 Replies
8. Shell Programming and Scripting
I need some tips to write a unix korn shell script that will parse an input text file. Input text file has messages that span several lines, each field in the message is delimited by /034 and the end of message is delimited by /035.
Input file looks something similar to
... (1 Reply)
Discussion started by: indianya
1 Replies
9. Shell Programming and Scripting
Hi,
How to format a number in ksh. For example
x=RANDOM $$
I want x to be of 20 digits long, so if x = 12345 I want it to be left paded with 15 zeros.
Thanks. (2 Replies)
Discussion started by: GNMIKE
2 Replies
Net::Jabber::Loudmouth::Proxy(3pm) User Contributed Perl Documentation Net::Jabber::Loudmouth::Proxy(3pm)
NAME
Net::Jabber::Loudmouth::Proxy - Jabber proxy
HIERARCHY
Glib::Boxed
+----Net::Jabber::Loudmouth::Proxy
METHODS
proxy = Net::Jabber::Loudmouth::Proxy->new ($type)
o $type (Net::Jabber::Loudmouth::ProxyType)
proxy = Net::Jabber::Loudmouth::Proxy->new_with_server ($type, $server, $port)
o $type (Net::Jabber::Loudmouth::ProxyType)
o $server (string)
o $port (integer)
string = $proxy->get_password
$proxy->set_password ($password)
o $password (string)
integer = $proxy->get_port
$proxy->set_port ($port)
o $port (integer)
string = $proxy->get_server
$proxy->set_server ($server)
o $server (string)
proxytype = $proxy->get_type
$proxy->set_type ($type)
o $type (Net::Jabber::Loudmouth::ProxyType)
string = $proxy->get_username
$proxy->set_username ($username)
o $username (string)
ENUMS AND FLAGS
enum Net::Jabber::Loudmouth::ProxyType
o 'none' / 'LM_PROXY_TYPE_NONE'
o 'http' / 'LM_PROXY_TYPE_HTTP'
SEE ALSO
Net::Jabber::Loudmouth, Glib::Boxed
COPYRIGHT
Copyright (C) 2005 by Florian Ragwitz
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2011-11-15 Net::Jabber::Loudmouth::Proxy(3pm)