9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have below code inside my awk script
if ( $0 ~ /SVC IN:/ )
{
svc_in=substr( $0,23 , 3);
if (msg_start == 1 && msg_end == 0)
{
msg_arr=$0;
}
}
else if ( $0 ~ /^SVC OUT:/ )
{
svc_out=substr( $0, 9, 3);
if (msg_start == 1 && msg_end == 0)
... (6 Replies)
Discussion started by: bhagya123
6 Replies
2. Emergency UNIX and Linux Support
Sorry if I repost my question in this section, but I'm really in a hurry since I have to finish my work... :(
Dear community,
I have a table with two rows like:
Row1 Row2
======= =======
7,3 text 1
1,3 text 2
1,2,3 blabla
What i need to do is add/copy... (2 Replies)
Discussion started by: Lord Spectre
2 Replies
3. Programming
Hi
mY files paths are defined as :
//sbase = 'D:\data\sample_AMC\fasta_files\';
sbase2 = 'D:\data\sample_AMC\fasta_files\results\';
snameprefix = 'orig_ind';
snameprefix3 = 'results_ind';
...
const string filname = sbase + snameprefix + snamesuffix;
const string resultsname_ =... (2 Replies)
Discussion started by: siya@
2 Replies
4. Shell Programming and Scripting
Hi All
I will run the same script every day in corn and output should go to same CSV file but in different row with dates on it. Below is my example in attached format.
Script i am using to collect switch port online
DATE=`date '+%d-%m-%y'`
for f in `cat... (1 Reply)
Discussion started by: ranjancom2000
1 Replies
5. Shell Programming and Scripting
I have a file with
<suit:run date="Trump Tue 06/19/2012 11:41 AM EDT" machine="garg-ln" build="19921" level="beta" release="6.1.5" os="Linux">
Need to find word "build" then
extract build number, which is 19921 also
release number, which is 6.1.5 then
concatenate them to one variable as... (6 Replies)
Discussion started by: garg
6 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I have data which looks like:
1 2 3
a x 0 0
a 0 p 0
a 0 0 0
b 0 b c
b a 0 0
b 0 0 0
c q 0 s
c 0 r 0
I would like to concatenate each of the column data, grouped by the row values, i.e. my... (4 Replies)
Discussion started by: Gussifinknottle
4 Replies
7. Shell Programming and Scripting
Hi All
I am reading data from the database and writing to temporary file in the below format.
1=XP|external_component|com.adp.meetingalertemail.processing.MeetingAlertEmail|EMAILALERTPUSH|32|4#XP |classpath|/usr/home/dfusr/lib/xalan.jar:
/usr/home/dfusr/lib/xerces.jar: ... (2 Replies)
Discussion started by: rajeshorpu
2 Replies
8. Shell Programming and Scripting
Hi
I need to do some thing like "find and insert before that " in a file which contains many records. This will be clear with the following example.
The original data record should be some thing like this
60119827 RTMS_LOCATION_CDR INSTANT_POSITION_QUERY 1236574686123083rtmssrv7 ... (8 Replies)
Discussion started by: aemunathan
8 Replies
9. Shell Programming and Scripting
I need to search a file for two values (valueA & valueB). ValueA will be on a different row than valueB, and concatenate the two together on the same row of my output.
Example: search input file for strings "node" and "OS", combine the two results into one row
input
node A
text
text
OS... (4 Replies)
Discussion started by: indianadoug
4 Replies
DateTime::Locale::wo(3) User Contributed Perl Documentation DateTime::Locale::wo(3)
NAME
DateTime::Locale::wo
SYNOPSIS
use DateTime;
my $dt = DateTime->now( locale => 'wo' );
print $dt->month_name();
DESCRIPTION
This is the DateTime locale package for Wolof.
DATA
This locale inherits from the DateTime::Locale::root locale.
It contains the following data.
Days
Wide (format)
2
3
4
5
6
7
1
Abbreviated (format)
2
3
4
5
6
7
1
Narrow (format)
2
3
4
5
6
7
1
Wide (stand-alone)
2
3
4
5
6
7
1
Abbreviated (stand-alone)
2
3
4
5
6
7
1
Narrow (stand-alone)
2
3
4
5
6
7
1
Months
Wide (format)
1
2
3
4
5
6
7
8
9
10
11
12
Abbreviated (format)
1
2
3
4
5
6
7
8
9
10
11
12
Narrow (format)
1
2
3
4
5
6
7
8
9
10
11
12
Wide (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
Abbreviated (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
Narrow (stand-alone)
1
2
3
4
5
6
7
8
9
10
11
12
Quarters
Wide (format)
Q1
Q2
Q3
Q4
Abbreviated (format)
Q1
Q2
Q3
Q4
Narrow (format)
1
2
3
4
Wide (stand-alone)
Q1
Q2
Q3
Q4
Abbreviated (stand-alone)
Q1
Q2
Q3
Q4
Narrow (stand-alone)
1
2
3
4
Eras
Wide
BCE
CE
Abbreviated
BCE
CE
Narrow
BCE
CE
Date Formats
Full
2008-02-05T18:30:30 = 3, 2008 2 05
1995-12-22T09:05:02 = 6, 1995 12 22
-0010-09-15T04:44:23 = 7, -10 9 15
Long
2008-02-05T18:30:30 = 2008 2 5
1995-12-22T09:05:02 = 1995 12 22
-0010-09-15T04:44:23 = -10 9 15
Medium
2008-02-05T18:30:30 = 2008 2 5
1995-12-22T09:05:02 = 1995 12 22
-0010-09-15T04:44:23 = -10 9 15
Short
2008-02-05T18:30:30 = 2008-02-05
1995-12-22T09:05:02 = 1995-12-22
-0010-09-15T04:44:23 = -010-09-15
Default
2008-02-05T18:30:30 = 2008 2 5
1995-12-22T09:05:02 = 1995 12 22
-0010-09-15T04:44:23 = -10 9 15
Time Formats
Full
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
Long
2008-02-05T18:30:30 = 18:30:30 UTC
1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
Short
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
Default
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
Datetime Formats
Full
2008-02-05T18:30:30 = 3, 2008 2 05 18:30:30 UTC
1995-12-22T09:05:02 = 6, 1995 12 22 09:05:02 UTC
-0010-09-15T04:44:23 = 7, -10 9 15 04:44:23 UTC
Long
2008-02-05T18:30:30 = 2008 2 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 12 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 9 15 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 2008 2 5 18:30:30
1995-12-22T09:05:02 = 1995 12 22 09:05:02
-0010-09-15T04:44:23 = -10 9 15 04:44:23
Short
2008-02-05T18:30:30 = 2008-02-05 18:30
1995-12-22T09:05:02 = 1995-12-22 09:05
-0010-09-15T04:44:23 = -010-09-15 04:44
Default
2008-02-05T18:30:30 = 2008 2 5 18:30:30
1995-12-22T09:05:02 = 1995 12 22 09:05:02
-0010-09-15T04:44:23 = -10 9 15 04:44:23
Available Formats
d (d)
2008-02-05T18:30:30 = 5
1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15
EEEd (d EEE)
2008-02-05T18:30:30 = 5 3
1995-12-22T09:05:02 = 22 6
-0010-09-15T04:44:23 = 15 7
Hm (H:mm)
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 9:05
-0010-09-15T04:44:23 = 4:44
hm (h:mm a)
2008-02-05T18:30:30 = 6:30 PM
1995-12-22T09:05:02 = 9:05 AM
-0010-09-15T04:44:23 = 4:44 AM
Hms (H:mm:ss)
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 9:05:02
-0010-09-15T04:44:23 = 4:44:23
hms (h:mm:ss a)
2008-02-05T18:30:30 = 6:30:30 PM
1995-12-22T09:05:02 = 9:05:02 AM
-0010-09-15T04:44:23 = 4:44:23 AM
M (L)
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
Md (M-d)
2008-02-05T18:30:30 = 2-5
1995-12-22T09:05:02 = 12-22
-0010-09-15T04:44:23 = 9-15
MEd (E, M-d)
2008-02-05T18:30:30 = 3, 2-5
1995-12-22T09:05:02 = 6, 12-22
-0010-09-15T04:44:23 = 7, 9-15
MMM (LLL)
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
MMMd (MMM d)
2008-02-05T18:30:30 = 2 5
1995-12-22T09:05:02 = 12 22
-0010-09-15T04:44:23 = 9 15
MMMEd (E MMM d)
2008-02-05T18:30:30 = 3 2 5
1995-12-22T09:05:02 = 6 12 22
-0010-09-15T04:44:23 = 7 9 15
MMMMd (MMMM d)
2008-02-05T18:30:30 = 2 5
1995-12-22T09:05:02 = 12 22
-0010-09-15T04:44:23 = 9 15
MMMMEd (E MMMM d)
2008-02-05T18:30:30 = 3 2 5
1995-12-22T09:05:02 = 6 12 22
-0010-09-15T04:44:23 = 7 9 15
ms (mm:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
y (y)
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yM (y-M)
2008-02-05T18:30:30 = 2008-2
1995-12-22T09:05:02 = 1995-12
-0010-09-15T04:44:23 = -10-9
yMEd (EEE, y-M-d)
2008-02-05T18:30:30 = 3, 2008-2-5
1995-12-22T09:05:02 = 6, 1995-12-22
-0010-09-15T04:44:23 = 7, -10-9-15
yMMM (y MMM)
2008-02-05T18:30:30 = 2008 2
1995-12-22T09:05:02 = 1995 12
-0010-09-15T04:44:23 = -10 9
yMMMEd (EEE, y MMM d)
2008-02-05T18:30:30 = 3, 2008 2 5
1995-12-22T09:05:02 = 6, 1995 12 22
-0010-09-15T04:44:23 = 7, -10 9 15
yMMMM (y MMMM)
2008-02-05T18:30:30 = 2008 2
1995-12-22T09:05:02 = 1995 12
-0010-09-15T04:44:23 = -10 9
yQ (y Q)
2008-02-05T18:30:30 = 2008 1
1995-12-22T09:05:02 = 1995 4
-0010-09-15T04:44:23 = -10 3
yQQQ (y QQQ)
2008-02-05T18:30:30 = 2008 Q1
1995-12-22T09:05:02 = 1995 Q4
-0010-09-15T04:44:23 = -10 Q3
Miscellaneous
Prefers 24 hour time?
Yes
Local first day of the week
2
SUPPORT
See DateTime::Locale.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT
Copyright (c) 2008 David Rolsky. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
This module was generated from data provided by the CLDR project, see the LICENSE.cldr in this distribution for details on the CLDR data's
license.
perl v5.18.2 2017-10-06 DateTime::Locale::wo(3)