Sponsored Content
Top Forums Shell Programming and Scripting How to assing 'Mon DD' to a variable? Post 302437607 by dipeshvshah on Thursday 15th of July 2010 01:38:04 PM
Old 07-15-2010
Thanks Tyler!! It is working now!!
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unix date Format (MON)

Hi , Can any one give me what is the date format for 3 character Month all caps (MON) when I do date +%b it will give me Sep But I want this to be SEP (all caps) . Thanks in advance (1 Reply)
Discussion started by: umathurumella
1 Replies

2. Solaris

crontab to run mon.wed.fri

I have it set to the following 0 9 * * 1,3,5 /var/tmp/sys_diag It ran correctly on Wednesday but did not run on Friday and I am not sure why, does the above appear to be correct? (3 Replies)
Discussion started by: deaconf19
3 Replies

3. Shell Programming and Scripting

Schedule a script to run at 10am from mon to fri

Hi, I need to write a shell script which will run i background and will execute other script only on Mon to Fri 10 AM but not on Sat and Sun. I am able to set it to run on every day at 10AM but how to make it to run only on Mon to Fri Thanks, Firestar. (7 Replies)
Discussion started by: firestar
7 Replies

4. Shell Programming and Scripting

Date conversion from DD MON YY to mmddyyyy

I am new shell scripting. Can someone please help in giving a shell script to convert from DD MON YY to mmddyyyy Example: Input1 :- 20 Apr 2011 Output2 should be :- 04202011 Input2 :- 09 MAR 11 Output :- 03092011 Input3 :- 30_JAN_11 Output :- 01302011 Need help in writing shell... (1 Reply)
Discussion started by: aakishore
1 Replies

5. Shell Programming and Scripting

Converting Date from YYYYMMDD to DD-MON-YYYY

Hi , I need to convert date from YYYYMMDD to DD-MON-YYYY e.g 20111214 to 14-Dec-2011 Please help. (17 Replies)
Discussion started by: ady_koolz
17 Replies

6. UNIX for Dummies Questions & Answers

is there a way to assing variable a value that is output of a program in awk script?

Hi there is there a way to assing variable a value that is output of a program in awk script. For e.g., I did temp=(`grep "" $5 | cut -f8 -d' '`) but it does not work. Any advice??? Thanks in advance!!! :) (3 Replies)
Discussion started by: FUTURE_EINSTEIN
3 Replies
Parse::MediaWikiDump(3pm)				User Contributed Perl Documentation				 Parse::MediaWikiDump(3pm)

NAME
Parse::MediaWikiDump - Tools to process MediaWiki dump files SYNOPSIS
use Parse::MediaWikiDump; $pmwd = Parse::MediaWikiDump->new; $pages = $pmwd->pages('pages-articles.xml'); $revisions = $pmwd->revisions('pages-articles.xml'); $links = $pmwd->links('links.sql'); DESCRIPTION
This software suite provides the tools needed to process the contents of the XML page dump files and the SQL based links dump file. STATUS
This software is being RETIRED - MediaWiki::DumpFile is the official successor to Parse::MediaWikiDump and includes a compatibility library called MediaWiki::DumpFile::Compat that is 100% API compatible and is a near perfect standin for this module. It is faster in all instances where it counts and is actively maintained. Any undocumented deviation of MediaWiki::DumpFile::Compat from Parse::MediaWikiDump is considered a bug and will be fixed. Migration Please begin using MediaWiki::DumpFile::Compat immediately as a replacement for this module. There will be no more features added to this software suite and bugs may not be fixed. Parse::MediaWikiDump::Pages used to check the version of the dump file it is parsing and reject versions it does not know about; this behavior has been removed. The parser will now continue in this instance and hope for the best. This way this software will continue to run into the future with out requiring further adjustment for as long as the upstream fileformat remains compatible. In the event there is an unfixable bug or the dump file format changes in an incompatible way the Parse::MediaWikiDump module as a whole wil be replaced with a stub that brings in MediaWiki::DumpFile::Compat - this may never need to happen but it is the plan for when it does. Migrating on your terms instead of being forced to if this happens is suggested. USAGE
This module is a factory class that allows you to create instances of the individual parser objects. $pmwd->pages Returns a Parse::MediaWikiDump::Pages object capable of parsing an article XML dump file with one revision per each article. $pmwd->revisions Returns a Parse::MediaWikiDump::Revisions object capable of parsing an article XML dump file with multiple revisions per each article. $pmwd->links Returns a Parse::MediaWikiDump::Links object capable of parsing an article links SQL dump file. General All parser creation invocations require a location of source data to parse; this argument can be either a filename or a reference to an already open filehandle. This entire software suite will die() upon errors in the file or if internal inconsistencies have been detected. If this concerns you then you can wrap the portion of your code that uses these calls with eval(). AUTHOR
This module was created, documented, and is maintained by Tyler Riddle <triddle@gmail.com>. Fix for bug 36255 "Parse::MediaWikiDump::page::namespace may return a string which is not really a namespace" provided by Amir E. Aharoni. BUGS
Please report any bugs or feature requests to "bug-parse-mediawikidump@rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Parse-MediaWikiDump>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. Known Bugs No known bugs at this time. COPYRIGHT &; LICENSE Copyright 2005 Tyler Riddle, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-12-05 Parse::MediaWikiDump(3pm)
All times are GMT -4. The time now is 03:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy