10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm try to change a the prohibit to aix for the lines starting with ssh and emagent and rest should be the same. Can anyone please suggest me how to do that using a shell script or sed
passwd account required /usr/lib/security/pam_prohibit
passwd session required ... (13 Replies)
Discussion started by: pjeedu2247
13 Replies
2. Shell Programming and Scripting
Hi,
I have the following line in file1
export NAME="NEW_NAME"
I'm writing a shell script which reads the NEW_NAME from the user and replace in the file. I have used the following command for that
read Name_replace
sed -i 's/NEW_NAME/$Name_replace/' file1
but it is not... (2 Replies)
Discussion started by: Ananthdoss
2 Replies
3. Shell Programming and Scripting
Hi,
I have been trying to replace the key word
"SQL> spool off "
with
"/
show errors"
with out double quotes in all the files in a directory.
above show erros should be displayed next line
Could you please help me how to do that.
I have tried something like this... (3 Replies)
Discussion started by: pointers
3 Replies
4. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies
5. Shell Programming and Scripting
Hi Everyone,
I am looking for a simple way for replacing all the files under a directory that use the server "xsgd1234dap" with "xsdr3423pap".
For Example:
In the Directory,
$pwd
/home/nick
$ grep -l "xsgd1234dap" *.sh | wc -l
119
I have "119" files that are still using... (5 Replies)
Discussion started by: filter
5 Replies
6. Shell Programming and Scripting
Hi All,
I have a file in which a number of lines are starting with similar first word but different next words.
I want to replace the any nth word(not 1st or 2nd) with another word.
Eg:- My file contains are like this:-
Ram is a boy.
Ram is a good boy.
Ram plays cricket.
Here I want to... (2 Replies)
Discussion started by: mukeshbaranwal
2 Replies
7. Shell Programming and Scripting
Hi there.!
I'm trying to make a script that corrects wrong spelling. I want to use sed to replace wrong word with the correct one, but this must be made in a while loop that reads the wrong word from file (with read line) and the correct one from another file. I can't find a way to run sed like... (3 Replies)
Discussion started by: spiii
3 Replies
8. Shell Programming and Scripting
Hi,
I am trying to write a shell script designed to take input line by line by line from a file with a word on each line for editing with sed. Example file:
1.ejverything
2.bllown
3.maikling
4.manegement
5.existjing
6.systems
My design currently takes input from the user, and... (2 Replies)
Discussion started by: mkfitzwilliams
2 Replies
9. Shell Programming and Scripting
Hi,
I have a xml text file with the following data, I would like replace F0</Number> to F</Number> only. i used sed to replace, but it not work!! anyone can help?
<Number>11 20 03 22 23 21 91 00 F0</Number>
<Number>12 20 03 20 99 21 91 20 F0</Number>
<Number>10 21 03 21 78 21 92 27... (28 Replies)
Discussion started by: happyv
28 Replies
10. Shell Programming and Scripting
I'm trying to replace the word "core3" with the word "core2" across too many scripts which they all contain that word "core3" (Shell & XML scripts) all at once. Is there easy way with "sed" to do it?
Thanks Folks. (2 Replies)
Discussion started by: moe2266
2 Replies
DateTime::Locale::tn_ZA(3) User Contributed Perl Documentation DateTime::Locale::tn_ZA(3)
NAME
DateTime::Locale::tn_ZA
SYNOPSIS
use DateTime;
my $dt = DateTime->now( locale => 'tn_ZA' );
print $dt->month_name();
DESCRIPTION
This is the DateTime locale package for Tswana South Africa.
DATA
This locale inherits from the DateTime::Locale::tn locale.
It contains the following data.
Days
Wide (format)
Mosopulogo
Labobedi
Laboraro
Labone
Labotlhano
Matlhatso
Tshipi
Abbreviated (format)
Mos
Bed
Rar
Ne
Tla
Mat
Tsh
Narrow (format)
2
3
4
5
6
7
1
Wide (stand-alone)
Mosopulogo
Labobedi
Laboraro
Labone
Labotlhano
Matlhatso
Tshipi
Abbreviated (stand-alone)
Mos
Bed
Rar
Ne
Tla
Mat
Tsh
Narrow (stand-alone)
2
3
4
5
6
7
1
Months
Wide (format)
Ferikgong
Tlhakole
Mopitlo
Moranang
Motsheganang
Seetebosigo
Phukwi
Phatwe
Lwetse
Diphalane
Ngwanatsele
Sedimonthole
Abbreviated (format)
Fer
Tlh
Mop
Mor
Mot
See
Phu
Pha
Lwe
Dip
Ngw
Sed
Narrow (format)
1
2
3
4
5
6
7
8
9
10
11
12
Wide (stand-alone)
Ferikgong
Tlhakole
Mopitlo
Moranang
Motsheganang
Seetebosigo
Phukwi
Phatwe
Lwetse
Diphalane
Ngwanatsele
Sedimonthole
Abbreviated (stand-alone)
Fer
Tlh
Mop
Mor
Mot
See
Phu
Pha
Lwe
Dip
Ngw
Sed
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
BC
AD
Abbreviated
BC
AD
Narrow
BC
AD
Date Formats
Full
2008-02-05T18:30:30 = Labobedi, 2008 Tlhakole 05
1995-12-22T09:05:02 = Labotlhano, 1995 Sedimonthole 22
-0010-09-15T04:44:23 = Matlhatso, -10 Lwetse 15
Long
2008-02-05T18:30:30 = 2008 Tlhakole 5
1995-12-22T09:05:02 = 1995 Sedimonthole 22
-0010-09-15T04:44:23 = -10 Lwetse 15
Medium
2008-02-05T18:30:30 = 2008 Tlh 5
1995-12-22T09:05:02 = 1995 Sed 22
-0010-09-15T04:44:23 = -10 Lwe 15
Short
2008-02-05T18:30:30 = 08/02/05
1995-12-22T09:05:02 = 95/12/22
-0010-09-15T04:44:23 = -10/09/15
Default
2008-02-05T18:30:30 = 2008 Tlh 5
1995-12-22T09:05:02 = 1995 Sed 22
-0010-09-15T04:44:23 = -10 Lwe 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 = Labobedi, 2008 Tlhakole 05 18:30:30 UTC
1995-12-22T09:05:02 = Labotlhano, 1995 Sedimonthole 22 09:05:02 UTC
-0010-09-15T04:44:23 = Matlhatso, -10 Lwetse 15 04:44:23 UTC
Long
2008-02-05T18:30:30 = 2008 Tlhakole 5 18:30:30 UTC
1995-12-22T09:05:02 = 1995 Sedimonthole 22 09:05:02 UTC
-0010-09-15T04:44:23 = -10 Lwetse 15 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 2008 Tlh 5 18:30:30
1995-12-22T09:05:02 = 1995 Sed 22 09:05:02
-0010-09-15T04:44:23 = -10 Lwe 15 04:44:23
Short
2008-02-05T18:30:30 = 08/02/05 18:30
1995-12-22T09:05:02 = 95/12/22 09:05
-0010-09-15T04:44:23 = -10/09/15 04:44
Default
2008-02-05T18:30:30 = 2008 Tlh 5 18:30:30
1995-12-22T09:05:02 = 1995 Sed 22 09:05:02
-0010-09-15T04:44:23 = -10 Lwe 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 Bed
1995-12-22T09:05:02 = 22 Tla
-0010-09-15T04:44:23 = 15 Mat
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 = Bed, 2-5
1995-12-22T09:05:02 = Tla, 12-22
-0010-09-15T04:44:23 = Mat, 9-15
MMM (LLL)
2008-02-05T18:30:30 = Tlh
1995-12-22T09:05:02 = Sed
-0010-09-15T04:44:23 = Lwe
MMMd (MMM d)
2008-02-05T18:30:30 = Tlh 5
1995-12-22T09:05:02 = Sed 22
-0010-09-15T04:44:23 = Lwe 15
MMMEd (E MMM d)
2008-02-05T18:30:30 = Bed Tlh 5
1995-12-22T09:05:02 = Tla Sed 22
-0010-09-15T04:44:23 = Mat Lwe 15
MMMMd (MMMM d)
2008-02-05T18:30:30 = Tlhakole 5
1995-12-22T09:05:02 = Sedimonthole 22
-0010-09-15T04:44:23 = Lwetse 15
MMMMEd (E MMMM d)
2008-02-05T18:30:30 = Bed Tlhakole 5
1995-12-22T09:05:02 = Tla Sedimonthole 22
-0010-09-15T04:44:23 = Mat Lwetse 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 = Bed, 2008-2-5
1995-12-22T09:05:02 = Tla, 1995-12-22
-0010-09-15T04:44:23 = Mat, -10-9-15
yMMM (y MMM)
2008-02-05T18:30:30 = 2008 Tlh
1995-12-22T09:05:02 = 1995 Sed
-0010-09-15T04:44:23 = -10 Lwe
yMMMEd (EEE, y MMM d)
2008-02-05T18:30:30 = Bed, 2008 Tlh 5
1995-12-22T09:05:02 = Tla, 1995 Sed 22
-0010-09-15T04:44:23 = Mat, -10 Lwe 15
yMMMM (y MMMM)
2008-02-05T18:30:30 = 2008 Tlhakole
1995-12-22T09:05:02 = 1995 Sedimonthole
-0010-09-15T04:44:23 = -10 Lwetse
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
yyQ (Q yy)
2008-02-05T18:30:30 = 1 08
1995-12-22T09:05:02 = 4 95
-0010-09-15T04:44:23 = 3 -10
Miscellaneous
Prefers 24 hour time?
Yes
Local first day of the week
Mosopulogo
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::tn_ZA(3)