Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Assigning a Variable all the Parameters passed Post 302098509 by samit_9999 on Monday 4th of December 2006 04:21:58 PM
Old 12-04-2006
Thanks Jim

Sam
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Extracting passed in parameters

we want to produce a script that we can pass parameters of -a for email address and -s for subject then the report filename, so an exmaple would be; email_report -a sendto@domain.com -s This is a test reportname.txt The problem we have is the subject can have more than one word, so I can't just... (2 Replies)
Discussion started by: spookyrtd99
2 Replies

2. Shell Programming and Scripting

Problem with script not able to take parameters passed to it

when I pass any 2 parameters it always says: Number of parameters passed: 1 and the job_name as x Can some body help? (7 Replies)
Discussion started by: dsravan
7 Replies

3. Shell Programming and Scripting

Problem with script not able to take parameters passed to it

debug output: (3 Replies)
Discussion started by: dsravan
3 Replies

4. UNIX for Dummies Questions & Answers

ksh: verifying number of parameters passed

hi all, i have a ksh script that takes up to 3 parameters -- only 2 of which are required. what's the simplest way to check if the user passed 2 or 3 parameters? if 3 parameters are not null then do this elif 2 parameters are not null then do this else echo "you need at least 2... (5 Replies)
Discussion started by: ankimo
5 Replies

5. Shell Programming and Scripting

My variable cannot be passed through into my path

Hi, Can you please help. I am scripting in sh and I am trying to simply copy one directory to another but for some reason my variables are not recognised? echo "The latest version of the program is being found......." cd $SOFTWARE/src/$progname version=`ls $SOFTWARE/src/$progname | grep... (13 Replies)
Discussion started by: cyberfrog
13 Replies

6. Shell Programming and Scripting

Parameters passed to commands but not working in Bash shell

Hi, I am trying to do this thing useing my shell bash ( sorry for my english ) I have in a file 63 hostnames, i wanna ask to the DHCP admin, to reserv that reserves 63 IP addresses of this hosts, using their mac address. I have thinked this script: for ((i=1;i<63;i++)); do arp $(head... (10 Replies)
Discussion started by: Cypress
10 Replies

7. Shell Programming and Scripting

How to check that passed parameters all have the same extension?

$ ls monkey.txt banana.csv tree.txt $ myscript monkey.txt tree.txt All extensions ARE alike. $ myscript *txt All extensions ARE alike. $ myscript monkey.txt banana.csv All extensions are NOT alike. $ myscript * All extensions are NOT alike. My brain has given up; what's the simplest... (11 Replies)
Discussion started by: cs03dmj
11 Replies

8. UNIX for Dummies Questions & Answers

Trouble displaying parameters passed into a for loop

#!/bin/bash function check_num_args() { if ; then echo "Please provide a file name" else treat_as_file $* fi } function treat_as_file() { numFiles=$# for((i=1;i<=$numFiles;i++));do echo $i ... (3 Replies)
Discussion started by: kikilahooch
3 Replies

9. Shell Programming and Scripting

Three parameters passed from a script to other at different time

nothing (0 Replies)
Discussion started by: shikha84
0 Replies

10. Shell Programming and Scripting

Shell script to create runtime variables based on the number of parameters passed in the script

Hi All, I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them abc.sh ---------- export Numbr_Parms=$# export a=1 while do export... (3 Replies)
Discussion started by: dev.devil.1983
3 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.16.3 2014-06-10 DateTime::Locale::de_BE(3)
All times are GMT -4. The time now is 08:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy