10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello guys :)
I've a some issue with a function which use the bash colors in my script.
An example :
#!/bin/bash
set -x
log_in(){
host="srv1"
remote_files="log/"
LOG_FILE="logfile"
green='\033]; then
color_in_red=("${red}"$2"${none}")
echo -e... (2 Replies)
Discussion started by: Arnaudh78
2 Replies
2. Shell Programming and Scripting
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies
3. Shell Programming and Scripting
Ih all,
I need to make a ksh script with colors, it is possible with printf to combine column and colors ? i seem not working, I think i dont doing the good thing:
printf -n "%-15s %-20s %-20s\n" "\033
the position is ok
Name______Age________Site
----________---_________----
Bob... (2 Replies)
Discussion started by: wolfhurt
2 Replies
4. Shell Programming and Scripting
Ih all,
i have multiples ksh scripts for crontab's unix jobs
they all have same variables declarations and some similar functions
i would have a only single script file to declare my variables, like:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }... (2 Replies)
Discussion started by: wolfhurt
2 Replies
5. Shell Programming and Scripting
I was trying to see all combinations of foreground and background colors in BASH.
This works fine for me,
echo -e '\E[37;46m TEXT'
but when I tried the below script, the variables i and j do not expand.
#!/bin/sh
for i in `seq 30 37` # foreground
do
for j in `seq 40... (4 Replies)
Discussion started by: jaduks
4 Replies
6. Shell Programming and Scripting
I normally trace a script with the ksh -x <script name> and redirect strderr to file. But if you have a script like the examble below......
vi hairy
bear=`grep bear animals`
if
then
ksh more_animals
fi
If I ksh -x hairy it won't trace "more_animals" unless I put a -x in it. Is... (1 Reply)
Discussion started by: shorty
1 Replies
7. Shell Programming and Scripting
Hi,
I'm new to unix scripting.How can i call a script from another script.
I have a.ksh and b.ksh .I have to call b.ksh from a.ksh after it is successfully exceuted.
I tried using
#!/bin/ksh -x in a.ksh and at the end i have used /path/b.ksh
My problem is it is executing only a.ksh.it... (6 Replies)
Discussion started by: ammu
6 Replies
8. UNIX Desktop Questions & Answers
Hello, I am somewhat new to linux. I just installed Red Hat 7.2 and when I try to load gnome or KDE in colors above 8bit it will kind of lock up and display some wierd scrambled cable look. I have an ATI Radeon 7000. I check out my monitor settings they are fine. Is it the graphics card? I set my... (1 Reply)
Discussion started by: Sage3k
1 Replies
9. Shell Programming and Scripting
hello!
I'd like to print on screen amessage.
What can I do to print this message with blue fonts.
thanks... (4 Replies)
Discussion started by: hoang
4 Replies
10. UNIX for Dummies Questions & Answers
Is it possible to change the color of text in a korn shell script Menu?
I can change the color of session text through my telnet client but I want to be able to change color text in the Korn shell menu to highlight certain items. (6 Replies)
Discussion started by: darthur
6 Replies
DateTime::Locale::de_BE(3) User Contributed Perl Documentation DateTime::Locale::de_BE(3)
NAME
DateTime::Locale::de_BE
SYNOPSIS
use DateTime;
my $dt = DateTime->now( locale => 'de_BE' );
print $dt->month_name();
DESCRIPTION
This is the DateTime locale package for German Belgium.
DATA
This locale inherits from the DateTime::Locale::de locale.
It contains the following data.
Days
Wide (format)
Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag
Abbreviated (format)
Mon
Die
Mit
Don
Fre
Sam
Son
Narrow (format)
Mon
Die
Mit
Don
Fre
Sam
Son
Wide (stand-alone)
Montag
Dienstag
Mittwoch
Donnerstag
Freitag
Samstag
Sonntag
Abbreviated (stand-alone)
Mon
Die
Mit
Don
Fre
Sam
Son
Narrow (stand-alone)
M
D
M
D
F
S
S
Months
Wide (format)
Januar
Februar
Maerz
April
Mai
Juni
Juli
August
September
Oktober
November
Dezember
Abbreviated (format)
Jan
Feb
Maer
Apr
Mai
Jun
Jul
Aug
Sep
Okt
Nov
Dez
Narrow (format)
J
F
M
A
M
J
J
A
S
O
N
D
Wide (stand-alone)
Januar
Februar
Maerz
April
Mai
Juni
Juli
August
September
Oktober
November
Dezember
Abbreviated (stand-alone)
Jan
Feb
Maer
Apr
Mai
Jun
Jul
Aug
Sep
Okt
Nov
Dez
Narrow (stand-alone)
J
F
M
A
M
J
J
A
S
O
N
D
Quarters
Wide (format)
1. Quartal
2. Quartal
3. Quartal
4. Quartal
Abbreviated (format)
Q1
Q2
Q3
Q4
Narrow (format)
1
2
3
4
Wide (stand-alone)
1. Quartal
2. Quartal
3. Quartal
4. Quartal
Abbreviated (stand-alone)
Q1
Q2
Q3
Q4
Narrow (stand-alone)
1
2
3
4
Eras
Wide
v. Chr.
n. Chr.
Abbreviated
v. Chr.
n. Chr.
Narrow
v. Chr.
n. Chr.
Date Formats
Full
2008-02-05T18:30:30 = Dienstag 5 Februar 2008
1995-12-22T09:05:02 = Freitag 22 Dezember 1995
-0010-09-15T04:44:23 = Samstag 15 September -10
Long
2008-02-05T18:30:30 = 5 Februar 2008
1995-12-22T09:05:02 = 22 Dezember 1995
-0010-09-15T04:44:23 = 15 September -10
Medium
2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.09.-010
Short
2008-02-05T18:30:30 = 5/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/-10
Default
2008-02-05T18:30:30 = 05.02.2008
1995-12-22T09:05:02 = 22.12.1995
-0010-09-15T04:44:23 = 15.09.-010
Time Formats
Full
2008-02-05T18:30:30 = 18 h 30 min 30 s UTC
1995-12-22T09:05:02 = 09 h 05 min 02 s UTC
-0010-09-15T04:44:23 = 04 h 44 min 23 s 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 = Dienstag 5 Februar 2008 18 h 30 min 30 s UTC
1995-12-22T09:05:02 = Freitag 22 Dezember 1995 09 h 05 min 02 s UTC
-0010-09-15T04:44:23 = Samstag 15 September -10 04 h 44 min 23 s UTC
Long
2008-02-05T18:30:30 = 5 Februar 2008 18:30:30 UTC
1995-12-22T09:05:02 = 22 Dezember 1995 09:05:02 UTC
-0010-09-15T04:44:23 = 15 September -10 04:44:23 UTC
Medium
2008-02-05T18:30:30 = 05.02.2008 18:30:30
1995-12-22T09:05:02 = 22.12.1995 09:05:02
-0010-09-15T04:44:23 = 15.09.-010 04:44:23
Short
2008-02-05T18:30:30 = 5/02/08 18:30
1995-12-22T09:05:02 = 22/12/95 09:05
-0010-09-15T04:44:23 = 15/09/-10 04:44
Default
2008-02-05T18:30:30 = 05.02.2008 18:30:30
1995-12-22T09:05:02 = 22.12.1995 09:05:02
-0010-09-15T04:44:23 = 15.09.-010 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
Ed (E d.)
2008-02-05T18:30:30 = Die 5.
1995-12-22T09:05:02 = Fre 22.
-0010-09-15T04:44:23 = Sam 15.
EEEd (d. EEE)
2008-02-05T18:30:30 = 5. Die
1995-12-22T09:05:02 = 22. Fre
-0010-09-15T04:44:23 = 15. Sam
H (H)
2008-02-05T18:30:30 = 18
1995-12-22T09:05:02 = 9
-0010-09-15T04:44:23 = 4
HHmm (HH:mm)
2008-02-05T18:30:30 = 18:30
1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44
HHmmss (HH:mm:ss)
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23
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 nachm.
1995-12-22T09:05:02 = 9:05 vorm.
-0010-09-15T04:44:23 = 4:44 vorm.
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 nachm.
1995-12-22T09:05:02 = 9:05:02 vorm.
-0010-09-15T04:44:23 = 4:44:23 vorm.
M (L)
2008-02-05T18:30:30 = 2
1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9
Md (d.M.)
2008-02-05T18:30:30 = 5.2.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.9.
MEd (E, d.M.)
2008-02-05T18:30:30 = Die, 5.2.
1995-12-22T09:05:02 = Fre, 22.12.
-0010-09-15T04:44:23 = Sam, 15.9.
MMd (d.MM.)
2008-02-05T18:30:30 = 5.02.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.09.
MMdd (dd.MM.)
2008-02-05T18:30:30 = 05.02.
1995-12-22T09:05:02 = 22.12.
-0010-09-15T04:44:23 = 15.09.
MMM (LLL)
2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dez
-0010-09-15T04:44:23 = Sep
MMMd (d. MMM)
2008-02-05T18:30:30 = 5. Feb
1995-12-22T09:05:02 = 22. Dez
-0010-09-15T04:44:23 = 15. Sep
MMMEd (E d. MMM)
2008-02-05T18:30:30 = Die 5. Feb
1995-12-22T09:05:02 = Fre 22. Dez
-0010-09-15T04:44:23 = Sam 15. Sep
MMMMd (d MMMM)
2008-02-05T18:30:30 = 5 Februar
1995-12-22T09:05:02 = 22 Dezember
-0010-09-15T04:44:23 = 15 September
MMMMdd (dd. MMMM)
2008-02-05T18:30:30 = 05. Februar
1995-12-22T09:05:02 = 22. Dezember
-0010-09-15T04:44:23 = 15. September
MMMMEd (E d. MMMM)
2008-02-05T18:30:30 = Die 5. Februar
1995-12-22T09:05:02 = Fre 22. Dezember
-0010-09-15T04:44:23 = Sam 15. September
mmss (mm:ss)
2008-02-05T18:30:30 = 30:30
1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23
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 (yyyy-M)
2008-02-05T18:30:30 = 2008-2
1995-12-22T09:05:02 = 1995-12
-0010-09-15T04:44:23 = -010-9
yMEd (EEE, yyyy-M-d)
2008-02-05T18:30:30 = Die, 2008-2-5
1995-12-22T09:05:02 = Fre, 1995-12-22
-0010-09-15T04:44:23 = Sam, -010-9-15
yMMM (MMM y)
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dez 1995
-0010-09-15T04:44:23 = Sep -10
yMMMEd (EEE, d. MMM y)
2008-02-05T18:30:30 = Die, 5. Feb 2008
1995-12-22T09:05:02 = Fre, 22. Dez 1995
-0010-09-15T04:44:23 = Sam, 15. Sep -10
yMMMM (MMMM y)
2008-02-05T18:30:30 = Februar 2008
1995-12-22T09:05:02 = Dezember 1995
-0010-09-15T04:44:23 = September -10
yQ (Q yyyy)
2008-02-05T18:30:30 = 1 2008
1995-12-22T09:05:02 = 4 1995
-0010-09-15T04:44:23 = 3 -010
yQQQ (QQQ y)
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
yyMM (MM/yy)
2008-02-05T18:30:30 = 02/08
1995-12-22T09:05:02 = 12/95
-0010-09-15T04:44:23 = 09/-10
yyMMdd (dd.MM.yy)
2008-02-05T18:30:30 = 05.02.08
1995-12-22T09:05:02 = 22.12.95
-0010-09-15T04:44:23 = 15.09.-10
yyMMM (MMM yy)
2008-02-05T18:30:30 = Feb 08
1995-12-22T09:05:02 = Dez 95
-0010-09-15T04:44:23 = Sep -10
yyQ (Q yy)
2008-02-05T18:30:30 = 1 08
1995-12-22T09:05:02 = 4 95
-0010-09-15T04:44:23 = 3 -10
yyQQQQ (QQQQ yy)
2008-02-05T18:30:30 = 1. Quartal 08
1995-12-22T09:05:02 = 4. Quartal 95
-0010-09-15T04:44:23 = 3. Quartal -10
yyyy (y)
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
yyyyMMMM (MMMM y)
2008-02-05T18:30:30 = Februar 2008
1995-12-22T09:05:02 = Dezember 1995
-0010-09-15T04:44:23 = September -10
Miscellaneous
Prefers 24 hour time?
Yes
Local first day of the week
Montag
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::de_BE(3)