Sponsored Content
Top Forums Shell Programming and Scripting shuffle pack of words in line Post 302356753 by Franklin52 on Sunday 27th of September 2009 12:11:10 PM
Old 09-27-2009
This requirement does not seem to bear any significance in the real world.

Is this a homework question?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

seperating the words from a line??

The line is like this +abc+def+mgh+ddsdsd+sa i.e. words seperated by +. There is a plus in the beginning. i want to conver this line to abc, def, mgh, ddsdsd, sa please provide the logic in the form of a shell script Thanks in advance (3 Replies)
Discussion started by: skyineyes
3 Replies

2. Shell Programming and Scripting

how to get line number of different words if exists in same line

I have some txt files. I have to create another text file which contains the portion starting from the format "Date Sex Address" to the end of the file. While using grep -n on Date it also gives me the previous line containg Date. and also Date may be DATE in some files. My file is like this... (10 Replies)
Discussion started by: Amiya Rath
10 Replies

3. Shell Programming and Scripting

print only last two words of a line

can u help me out to print last two words of each sentence of a file. for example. contents of input file: i love songs my favourite songs sent songs all kind good buddy Ouput file should contain: love songs favourite songs sent all kind good buddy (5 Replies)
Discussion started by: pradeepreddy
5 Replies

4. Shell Programming and Scripting

How to print the words in the same line with space or to the predefined line?

HI, cat test abc echo "def" >> test output is cat test abc def the needed output is cat test abc def and so on (5 Replies)
Discussion started by: jobycxa
5 Replies

5. Shell Programming and Scripting

Copying x words from end of line to specific location in same line

Hello all i know it is pretty hard one but you will manage it all after noticing and calculating i find a rhythm for the file i want to edit to copy the last 12 characters in line but the problem is to add after first 25 characters in same line in other way too copy the last 12 characters... (10 Replies)
Discussion started by: princesasa
10 Replies

6. Shell Programming and Scripting

get few words from same line

Hello all i tried awk , cut but i think something missing i have this line @@XYMONDCHK-V1|.acklist.|developer_instead|rendy_google_yagom|1323977582|1323979382|1323979382|1|admin|test case i want cut some words to be in new line like this... (6 Replies)
Discussion started by: mogabr
6 Replies

7. Shell Programming and Scripting

Search words in multiple file line by line

Hi All I have to search servers name say like 1000+ "unique names" line by line in child.txt files in another file that is a master file where all server present say "master.txt",if child.txt's server name matches with master files then it print yes else no with server name. (4 Replies)
Discussion started by: netdbaind
4 Replies

8. Shell Programming and Scripting

Randomized shuffle words on each line

Hi Folks, I have a text file with a thousand lines consisting of words or a group of words separated by commas. I would like to randomize / shuffle the words on each line. Eg; file.txt Linux,Open,Free,Awesome,Best Things in Life,The Greatest Laptop,PC,Tablet,Home Computers,Digital... (2 Replies)
Discussion started by: martinsmith
2 Replies

9. UNIX for Beginners Questions & Answers

Logic shuffle

Hi, Is there any way I can shuffle the numbers randomly. I have been trying to google and I found lots of 'generator' but is it possible to find the background logic to create randomness? Thanks, (3 Replies)
Discussion started by: Indra2011
3 Replies

10. Shell Programming and Scripting

Replace particular words in file based on if finds another words in that line

Hi All, I need one help to replace particular words in file based on if finds another words in that file . i.e. my self is peter@king. i am staying at north sydney. we all are peter@king. How to replace peter to sham if it finds @king in any line of that file. Please help me... (8 Replies)
Discussion started by: Rajib Podder
8 Replies
DateTime::Locale::se(3pm)				User Contributed Perl Documentation				 DateTime::Locale::se(3pm)

NAME
DateTime::Locale::se - DateTime locale package for "se" SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'se' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Northern Sami. DATA
This locale inherits from the DateTime::Locale::root locale. It contains the following data. Days Wide (format) vuossarga maXXebarga gaskavahkku duorasdat bearjadat lavvardat sotnabeaivi Abbreviated (format) vuos maX gask duor bear lav sotn Narrow (format) v m g d b L s Wide (stand-alone) vuossarga maXXebarga gaskavahkku duorasdat bearjadat lavvardat sotnabeaivi Abbreviated (stand-alone) vuos maX gask duor bear lav sotn Narrow (stand-alone) v m g d b L s Months Wide (format) oXXajagemannu guovvamannu njukXamannu cuoXomannu miessemannu geassemannu suoidnemannu borgemannu XakXamannu golggotmannu skabmamannu juovlamannu Abbreviated (format) oXXj guov njuk cuo mies geas suoi borg XakX golg skab juov Narrow (format) O G N C M G S B X G S J Wide (stand-alone) oXXajagemannu guovvamannu njukXamannu cuoXomannu miessemannu geassemannu suoidnemannu borgemannu XakXamannu golggotmannu skabmamannu juovlamannu Abbreviated (stand-alone) oXXj guov njuk cuo mies geas suoi borg XakX golg skab juov Narrow (stand-alone) O G N C M G S B X G S J Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 K2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 K2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide ovdal Kristtusa maXXel Kristtusa Abbreviated o.Kr. m.Kr. Narrow o.Kr. m.Kr. Date Formats Full 2008-02-05T18:30:30 = maXXebarga, 2008 guovvamannu 05 1995-12-22T09:05:02 = bearjadat, 1995 juovlamannu 22 -0010-09-15T04:44:23 = lavvardat, -10 XakXamannu 15 Long 2008-02-05T18:30:30 = 2008 guovvamannu 5 1995-12-22T09:05:02 = 1995 juovlamannu 22 -0010-09-15T04:44:23 = -10 XakXamannu 15 Medium 2008-02-05T18:30:30 = 2008 guov 5 1995-12-22T09:05:02 = 1995 juov 22 -0010-09-15T04:44:23 = -10 XakX 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 guov 5 1995-12-22T09:05:02 = 1995 juov 22 -0010-09-15T04:44:23 = -10 XakX 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 = maXXebarga, 2008 guovvamannu 05 18:30:30 UTC 1995-12-22T09:05:02 = bearjadat, 1995 juovlamannu 22 09:05:02 UTC -0010-09-15T04:44:23 = lavvardat, -10 XakXamannu 15 04:44:23 UTC Long 2008-02-05T18:30:30 = 2008 guovvamannu 5 18:30:30 UTC 1995-12-22T09:05:02 = 1995 juovlamannu 22 09:05:02 UTC -0010-09-15T04:44:23 = -10 XakXamannu 15 04:44:23 UTC Medium 2008-02-05T18:30:30 = 2008 guov 5 18:30:30 1995-12-22T09:05:02 = 1995 juov 22 09:05:02 -0010-09-15T04:44:23 = -10 XakX 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 guov 5 18:30:30 1995-12-22T09:05:02 = 1995 juov 22 09:05:02 -0010-09-15T04:44:23 = -10 XakX 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 maX 1995-12-22T09:05:02 = 22 bear -0010-09-15T04:44:23 = 15 lav 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 = maX, 2-5 1995-12-22T09:05:02 = bear, 12-22 -0010-09-15T04:44:23 = lav, 9-15 MMM (LLL) 2008-02-05T18:30:30 = guov 1995-12-22T09:05:02 = juov -0010-09-15T04:44:23 = XakX MMMd (MMM d) 2008-02-05T18:30:30 = guov 5 1995-12-22T09:05:02 = juov 22 -0010-09-15T04:44:23 = XakX 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = maX guov 5 1995-12-22T09:05:02 = bear juov 22 -0010-09-15T04:44:23 = lav XakX 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = guovvamannu 5 1995-12-22T09:05:02 = juovlamannu 22 -0010-09-15T04:44:23 = XakXamannu 15 MMMMEd (E MMMM d) 2008-02-05T18:30:30 = maX guovvamannu 5 1995-12-22T09:05:02 = bear juovlamannu 22 -0010-09-15T04:44:23 = lav XakXamannu 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 = maX, 2008-2-5 1995-12-22T09:05:02 = bear, 1995-12-22 -0010-09-15T04:44:23 = lav, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 guov 1995-12-22T09:05:02 = 1995 juov -0010-09-15T04:44:23 = -10 XakX yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = maX, 2008 guov 5 1995-12-22T09:05:02 = bear, 1995 juov 22 -0010-09-15T04:44:23 = lav, -10 XakX 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 guovvamannu 1995-12-22T09:05:02 = 1995 juovlamannu -0010-09-15T04:44:23 = -10 XakXamannu 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 vuossarga 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.10.1 2010-03-19 DateTime::Locale::se(3pm)
All times are GMT -4. The time now is 07:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy