Sponsored Content
Full Discussion: Filename Validation
Top Forums UNIX for Advanced & Expert Users Filename Validation Post 302072402 by F-1 on Tuesday 2nd of May 2006 01:29:20 PM
Old 05-02-2006
Bug Thanks

I managed to figure out the required format. That is -

IG(X|XX)-ABC-ABC-XXXXXXXXXXXXXX-XXXX-(XX|XX-XX)-sr

Thanks for your time. Appreciated. Smilie

Regards,
F-1
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

validation :file <filename>

My user is ftp a CSV file from window. There is possiblity to doing FTP through different mode. This file is then picked by another program, but I want to make sure the FTP file would be always ascii format, bu releasing a commaon File <file name> Can any one provide input , abut how to put a... (2 Replies)
Discussion started by: u263066
2 Replies

2. UNIX for Dummies Questions & Answers

shortcut for tar cvf - [filename] | gzip > [filename].tar.gz

i'd like to have an alias (or something similar) where i can type a command like "archive" and a filename and have it tar and gzip the file, so... $ archive filename results in filename.tar.gz...do i have to write a script to do this? (4 Replies)
Discussion started by: bcamp1973
4 Replies

3. Shell Programming and Scripting

gzcat into awk and then change FILENAME and process new FILENAME

I am trying to write a script that prompts users for date and time, then process the gzip file into awk. During the ksh part of the script another file is created and needs to be processed with a different set of pattern matches then I need to combine the two in the end. I'm stuck at the part... (6 Replies)
Discussion started by: timj123
6 Replies

4. Shell Programming and Scripting

rename multiple filename.45267.txt to >> filename.txt

i have several thousand files and in subdirs that are named file.46634.txt budget.75346.pdf etc i want to remove the number but retain the extension. it is always a 5 digit. thanks. (6 Replies)
Discussion started by: jason7
6 Replies

5. Shell Programming and Scripting

Filename from splitting files to have the same filename of the original file with counter value

Hi all, I have a list of xml file. I need to split the files to a different files when see the <ko> tag. The list of filename are B20090908.1100-20090908.1200_CDMA=1,NO=2,SITE=3.xml B20090908.1200-20090908.1300_CDMA=1,NO=2,SITE=3.xml B20090908.1300-20090908.1400_CDMA=1,NO=2,SITE=3.xml ... (3 Replies)
Discussion started by: natalie23
3 Replies

6. Shell Programming and Scripting

Filename Validation

Hi All, We need to use & execute some several scripts before loading the data successfully using Informatica. Can you help me the below scenario: We will be receiving the files from different countries, and using ftp all the files will be placed onto the server. The file structure will be (.csv... (6 Replies)
Discussion started by: psr2009
6 Replies

7. Shell Programming and Scripting

Name validation

Hi All, I need to write a small piece of code to check the following. name should contain (A-Z), spaces, hyphens & apostrophes I need to generate regular expressions for the same. Please help me out as i am not familiar with regular expressions. (1 Reply)
Discussion started by: lifzgud
1 Replies

8. UNIX for Dummies Questions & Answers

to extract all the part of the filename before a particular word in the filename

Hi All, Thanks in Advance I am working on a shell script. I need some assistance. My Requirement: 1) There are some set of files in a directory like given below OTP_UFSC_20120530000000_acc.csv OTP_UFSC_20120530000000_faf.csv OTP_UFSC_20120530000000_prom.csv... (0 Replies)
Discussion started by: aealexanderraj
0 Replies

9. Programming

to extract all the part of the filename before a particular word in the filename

Hi All, Thanks in Advance I am working on a shell script. I need some assistance. My code: if then set "subscriber" "promplan" "mapping" "dedicatedaccount" "faflistSub" "faflistAcc" "accumulator"\ "pam_account"; for i in 1 2 3 4 5 6 7 8;... (0 Replies)
Discussion started by: aealexanderraj
0 Replies

10. Shell Programming and Scripting

[Beginner's questions] Filename Validation & Parsing

Hi !! I'm rather new both to the UNIX and scripting worlds, and I'm learning the ropes of scripting. Having said this, please excuse me if you notice certain basic errors. I'm working on a script that implements .jar and .war files for a WAS environment and I need to perform certain... (4 Replies)
Discussion started by: levaldez
4 Replies
DateTime::Locale::km(3) 				User Contributed Perl Documentation				   DateTime::Locale::km(3)

NAME
DateTime::Locale::km SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'km' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Khmer. DATA
This locale inherits from the DateTime::Locale::root locale. It contains the following data. Days Wide (format) XXXXXXXXXX XXXXXXXXXX XXXXXXX XXXXXXXXXXXXXX XXXXXXXXX XXXXXXXX XXXXXXXXXXX Abbreviated (format) X X XX XXX XX X XX Narrow (format) 2 3 4 5 6 7 1 Wide (stand-alone) XXXXXXXXXX XXXXXXXXXX XXXXXXX XXXXXXXXXXXXXX XXXXXXXXX XXXXXXXX XXXXXXXXXXX Abbreviated (stand-alone) X X XX XXX XX X XX Narrow (stand-alone) 2 3 4 5 6 7 1 Months Wide (format) XXXX XXXXXX XXXX XXXX XXXX XXXXXX XXXXXX XXXX XXXXX XXXX XXXXXXXX XXXX Abbreviated (format) X X X X X X X X X XX XX XX Narrow (format) 1 2 3 4 5 6 7 8 9 10 11 12 Wide (stand-alone) XXXX XXXXXX XXXX XXXX XXXX XXXXXX XXXXXX XXXX XXXXX XXXX XXXXXXXX XXXX Abbreviated (stand-alone) X X X X X X X X X XX XX XX Narrow (stand-alone) 1 2 3 4 5 6 7 8 9 10 11 12 Quarters Wide (format) XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX Abbreviated (format) XXXXX XXXXX XXXXX XXXXX Narrow (format) 1 2 3 4 Wide (stand-alone) XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX Abbreviated (stand-alone) XXXXX XXXXX XXXXX XXXXX Narrow (stand-alone) 1 2 3 4 Eras Wide XXXXXXXXXXXXXXXX XXXXXXXXXXXX Abbreviated XXXXX.X. X.X. Narrow XXXXX.X. X.X. Date Formats Full 2008-02-05T18:30:30 = XXXXXXXXXX XXXX 5 XX XXXXXX XXXXX 2008 1995-12-22T09:05:02 = XXXXXXXXX XXXX 22 XX XXXX XXXXX 1995 -0010-09-15T04:44:23 = XXXXXXXX XXXX 15 XX XXXXX XXXXX -10 Long 2008-02-05T18:30:30 = 5 XX XXXXXX XXXXX 2008 1995-12-22T09:05:02 = 22 XX XXXX XXXXX 1995 -0010-09-15T04:44:23 = 15 XX XXXXX XXXXX -10 Medium 2008-02-05T18:30:30 = 5 X 2008 1995-12-22T09:05:02 = 22 XX 1995 -0010-09-15T04:44:23 = 15 X -10 Short 2008-02-05T18:30:30 = 5/2/2008 1995-12-22T09:05:02 = 22/12/1995 -0010-09-15T04:44:23 = 15/9/-010 Default 2008-02-05T18:30:30 = 5 X 2008 1995-12-22T09:05:02 = 22 XX 1995 -0010-09-15T04:44:23 = 15 X -10 Time Formats Full 2008-02-05T18:30:30 = 18 XXXX 30 XXXX 30 XXXXXXX UTC 1995-12-22T09:05:02 = 9 XXXX 5 XXXX 02 XXXXXXX UTC -0010-09-15T04:44:23 = 4 XXXX 44 XXXX 23 XXXXXXX UTC Long 2008-02-05T18:30:30 = 18 XXXX 30 XXXX 30 XXXXXXXUTC 1995-12-22T09:05:02 = 9 XXXX 5 XXXX 02 XXXXXXXUTC -0010-09-15T04:44:23 = 4 XXXX 44 XXXX 23 XXXXXXXUTC Medium 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 Short 2008-02-05T18:30:30 = 18:30 1995-12-22T09:05:02 = 9:05 -0010-09-15T04:44:23 = 4:44 Default 2008-02-05T18:30:30 = 18:30:30 1995-12-22T09:05:02 = 9:05:02 -0010-09-15T04:44:23 = 4:44:23 Datetime Formats Full 2008-02-05T18:30:30 = XXXXXXXXXX XXXX 5 XX XXXXXX XXXXX 2008, 18 XXXX 30 XXXX 30 XXXXXXX UTC 1995-12-22T09:05:02 = XXXXXXXXX XXXX 22 XX XXXX XXXXX 1995, 9 XXXX 5 XXXX 02 XXXXXXX UTC -0010-09-15T04:44:23 = XXXXXXXX XXXX 15 XX XXXXX XXXXX -10, 4 XXXX 44 XXXX 23 XXXXXXX UTC Long 2008-02-05T18:30:30 = 5 XX XXXXXX XXXXX 2008, 18 XXXX 30 XXXX 30 XXXXXXXUTC 1995-12-22T09:05:02 = 22 XX XXXX XXXXX 1995, 9 XXXX 5 XXXX 02 XXXXXXXUTC -0010-09-15T04:44:23 = 15 XX XXXXX XXXXX -10, 4 XXXX 44 XXXX 23 XXXXXXXUTC Medium 2008-02-05T18:30:30 = 5 X 2008, 18:30:30 1995-12-22T09:05:02 = 22 XX 1995, 9:05:02 -0010-09-15T04:44:23 = 15 X -10, 4:44:23 Short 2008-02-05T18:30:30 = 5/2/2008, 18:30 1995-12-22T09:05:02 = 22/12/1995, 9:05 -0010-09-15T04:44:23 = 15/9/-010, 4:44 Default 2008-02-05T18:30:30 = 5 X 2008, 18:30:30 1995-12-22T09:05:02 = 22 XX 1995, 9:05:02 -0010-09-15T04:44:23 = 15 X -10, 4: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 X 1995-12-22T09:05:02 = 22 XX -0010-09-15T04:44:23 = 15 X hhmm (hh:mm a) 2008-02-05T18:30:30 = 06:30 XXXXX 1995-12-22T09:05:02 = 09:05 XXXXX -0010-09-15T04:44:23 = 04:44 XXXXX hhmmss (hh:mm:ss a) 2008-02-05T18:30:30 = 06:30:30 XXXXX 1995-12-22T09:05:02 = 09:05:02 XXXXX -0010-09-15T04:44:23 = 04:44:23 XXXXX 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 XXXXX 1995-12-22T09:05:02 = 9:05 XXXXX -0010-09-15T04:44:23 = 4:44 XXXXX 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 XXXXX 1995-12-22T09:05:02 = 9:05:02 XXXXX -0010-09-15T04:44:23 = 4:44:23 XXXXX 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, M-d) 2008-02-05T18:30:30 = X, 2-5 1995-12-22T09:05:02 = XX, 12-22 -0010-09-15T04:44:23 = X, 9-15 MMM (LLL) 2008-02-05T18:30:30 = X 1995-12-22T09:05:02 = XX -0010-09-15T04:44:23 = X MMMd (MMM d) 2008-02-05T18:30:30 = X 5 1995-12-22T09:05:02 = XX 22 -0010-09-15T04:44:23 = X 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = X X 5 1995-12-22T09:05:02 = XX XX 22 -0010-09-15T04:44:23 = X X 15 MMMMd (d MMMM) 2008-02-05T18:30:30 = 5 XXXXXX 1995-12-22T09:05:02 = 22 XXXX -0010-09-15T04:44:23 = 15 XXXXX MMMMEd (E MMMM d) 2008-02-05T18:30:30 = X XXXXXX 5 1995-12-22T09:05:02 = XX XXXX 22 -0010-09-15T04:44:23 = X XXXXX 15 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 (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 = X, 2008-2-5 1995-12-22T09:05:02 = XX, 1995-12-22 -0010-09-15T04:44:23 = X, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 X 1995-12-22T09:05:02 = 1995 XX -0010-09-15T04:44:23 = -10 X yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = X, 2008 X 5 1995-12-22T09:05:02 = XX, 1995 XX 22 -0010-09-15T04:44:23 = X, -10 X 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 XXXXXX 1995-12-22T09:05:02 = 1995 XXXX -0010-09-15T04:44:23 = -10 XXXXX 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 XXXXX 1995-12-22T09:05:02 = 1995 XXXXX -0010-09-15T04:44:23 = -10 XXXXX 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 = XXXXXXXXXX 08 1995-12-22T09:05:02 = XXXXXXXXXX 95 -0010-09-15T04:44:23 = XXXXXXXXXX -10 yyyyM (M/yyyy) 2008-02-05T18:30:30 = 2/2008 1995-12-22T09:05:02 = 12/1995 -0010-09-15T04:44:23 = 9/-010 yyyyMMMM (MMMM y) 2008-02-05T18:30:30 = XXXXXX 2008 1995-12-22T09:05:02 = XXXX 1995 -0010-09-15T04:44:23 = XXXXX -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week XXXXXXXXXX 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::km(3)
All times are GMT -4. The time now is 05:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy