Sponsored Content
Homework and Emergencies Homework & Coursework Questions word ordering problem HELP please (linux) Post 302385926 by Lili on Sunday 10th of January 2010 05:05:06 PM
Old 01-10-2010
word ordering problem HELP please (linux)

Hi guys I need you ,please help me
i have to do this for tomorow and i don't understand how to do

Q1 : Order the words of RADIO.txt by frequency
Q2 : Order the words of RADIO.txt in alphabétique order
Q3 : Order the words of RADIO.txt par ordre "rhymique" (exemple, put togeder words which are finishing by "-ment". we can use "rev"

P.S the content of RADIOS.txt is for example:
patricia martin que voici que voilа oh bonjour nicolas stoufflet france-inter sept heures le journal simon tivolle bonjour lundi sept dйcembre
deux incendies cette nuit en rйgion_parisienne dans une maison de retraite de livry-gargan en seine-saint-denis sept personnes ont pйri dans les flammes
et puis dans le neuviиme arrondissement de paris le feu a pris dans un immeuble d' habitation et trois personnes ont йtй tuйes le sculpteur cйsar est dйcйdй hier а l' вge de soixante dix-sept ans il йtait devenu cйlиbre grвce а ses compressions et а ses oeuvres rйalisйes avec de la ferraille
france-inter ouvre son antenne а la chaоne de l' espoir pour aider les enfants malades qui n' ont pas les moyens de se soigner la chaоne de l' espoir association de mйdecins et de bйnйvoles a dйjа sauvй cinq mille enfants
le quarante quatriиme congrиs de la cfdt s' ouvre aujourd'hui а lille un congrиs de la dйcrispation et puis ouverture aussi aujourd'hui des discussions а la sncf entre les syndicats et la direction
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

proper ordering of o/p values

Hi, Below is my script which creates a file: #!/bin/sh if then echo "Enter bill period " echo "Syntax: sh cpd.sh G08" exit fi sqlplus uname/pwd@dbname <<EOF set WRAP off set FEEDBACK off set PAGESIZE 0 set VERIFY off (14 Replies)
Discussion started by: ss_ss
14 Replies

2. Shell Programming and Scripting

File ordering by portion of filename

Hi, Lets say I have a few xml files: 1234567894.xml abc_1234567895.xml abc_000_1234567890.xml abc_0000000_1234567893.xml 684_abc_000_1234567899.xml The naming convention of the files is: xxxxx_timestamp.xml OR timestamp.xml where x can be anything and I would like to order them by... (4 Replies)
Discussion started by: Leion
4 Replies

3. Shell Programming and Scripting

ordering a data file

With an input file like this: How can I get an output like this? (In the quoted examples, the "_" sign represents an empty space) Note that there are some minus signs and no spaces, in the example above the first character of the first line is an empty space, so each number spans 10... (16 Replies)
Discussion started by: lego
16 Replies

4. Shell Programming and Scripting

Appending lines with word frequencies, ordering and indexing a column

Dear All, I have the following input data: w1 20 g1 w1 10 g1 w2 12 g1 w2 23 g1 w3 10 g1 w3 17 g1 w3 12.5 g1 w3 21 g1 w4 11 g1 w4 13.2 g1 w4 23 g1 w4 18 g1 First I seek to find the word frequencies in col1 and sort col2 in ascending order for each change in a col1 word. Second,... (5 Replies)
Discussion started by: Ghetz
5 Replies

5. Shell Programming and Scripting

Re-ordering data

input Predictions for job: 1299399580 ********************************************** gg18_qqq10_100017878_100017978_- ============================================================================== zzz Factor: XXX, ttt: crsmsgw, Cutoff: 0.6429 seqe Position fff Coordinate K-mer Score ... (3 Replies)
Discussion started by: quincyjones
3 Replies

6. Shell Programming and Scripting

Re ordering lines - Awk

Is it possible to re-order certain rows as columns (of large files). Few lines from the file for reference. input Splicing Factor: Tra2beta, Motif: aaguguu, Cutoff: 0.5000 Sequence Position Genomic Coordinate K-mer Score 97 chr1:67052604 uacuguu 0.571 147... (3 Replies)
Discussion started by: quincyjones
3 Replies

7. UNIX for Dummies Questions & Answers

Find EXACT word in files, just the word: no prefix, no suffix, no 'similar', just the word

I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL. I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies

8. Shell Programming and Scripting

ordering

file1 1 SNP2 3 1 SNP3 3 1 SNP5 4 2 SNP1 4 2 SNP4 4 file2 SNP1 1 1 1 SNP5 5 5 5 SNP4 4 4 4 SNP2 2 2 2 SNP3 1 1 1 desired output (1 Reply)
Discussion started by: johnkim0806
1 Replies

9. Shell Programming and Scripting

Random ordering

1 2 4 5 3 I would like to use a script so that i can randomly rearrange these numbers such as 3 5 2 4 1 Thanks! (3 Replies)
Discussion started by: johnkim0806
3 Replies

10. Shell Programming and Scripting

Ordering batch number

Hi, Could some one please help to order the batch number in sequence. I will be getting bunch of files with batch number in folder1 which are not in sequence. I need to move all files from folder1 to folder2 with batch number in sequence. Header record looks like PROCESS1... (8 Replies)
Discussion started by: zooby
8 Replies
DateTime::Locale::fr_FR(3)				User Contributed Perl Documentation				DateTime::Locale::fr_FR(3)

NAME
DateTime::Locale::fr_FR SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'fr_FR' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for French France. DATA
This locale inherits from the DateTime::Locale::fr locale. It contains the following data. Days Wide (format) lundi mardi mercredi jeudi vendredi samedi dimanche Abbreviated (format) lun. mar. mer. jeu. ven. sam. dim. Narrow (format) L M M J V S D Wide (stand-alone) lundi mardi mercredi jeudi vendredi samedi dimanche Abbreviated (stand-alone) lun. mar. mer. jeu. ven. sam. dim. Narrow (stand-alone) L M M J V S D Months Wide (format) janvier fevrier mars avril mai juin juillet aout septembre octobre novembre decembre Abbreviated (format) janv. fevr. mars avr. mai juin juil. aout sept. oct. nov. dec. Narrow (format) J F M A M J J A S O N D Wide (stand-alone) janvier fevrier mars avril mai juin juillet aout septembre octobre novembre decembre Abbreviated (stand-alone) janv. fevr. mars avr. mai juin juil. aout sept. oct. nov. dec. Narrow (stand-alone) J F M A M J J A S O N D Quarters Wide (format) 1er trimestre 2e trimestre 3e trimestre 4e trimestre Abbreviated (format) T1 T2 T3 T4 Narrow (format) T1 T2 T3 T4 Wide (stand-alone) 1er trimestre 2e trimestre 3e trimestre 4e trimestre Abbreviated (stand-alone) T1 T2 T3 T4 Narrow (stand-alone) 1 2 3 4 Eras Wide avant Jesus-Christ apres Jesus-Christ Abbreviated av. J.-C. ap. J.-C. Narrow av. J.-C. ap. J.-C. Date Formats Full 2008-02-05T18:30:30 = mardi 5 fevrier 2008 1995-12-22T09:05:02 = vendredi 22 decembre 1995 -0010-09-15T04:44:23 = samedi 15 septembre -10 Long 2008-02-05T18:30:30 = 5 fevrier 2008 1995-12-22T09:05:02 = 22 decembre 1995 -0010-09-15T04:44:23 = 15 septembre -10 Medium 2008-02-05T18:30:30 = 5 fevr. 2008 1995-12-22T09:05:02 = 22 dec. 1995 -0010-09-15T04:44:23 = 15 sept. -10 Short 2008-02-05T18:30:30 = 05/02/08 1995-12-22T09:05:02 = 22/12/95 -0010-09-15T04:44:23 = 15/09/-10 Default 2008-02-05T18:30:30 = 5 fevr. 2008 1995-12-22T09:05:02 = 22 dec. 1995 -0010-09-15T04:44:23 = 15 sept. -10 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 = mardi 5 fevrier 2008 18:30:30 UTC 1995-12-22T09:05:02 = vendredi 22 decembre 1995 09:05:02 UTC -0010-09-15T04:44:23 = samedi 15 septembre -10 04:44:23 UTC Long 2008-02-05T18:30:30 = 5 fevrier 2008 18:30:30 UTC 1995-12-22T09:05:02 = 22 decembre 1995 09:05:02 UTC -0010-09-15T04:44:23 = 15 septembre -10 04:44:23 UTC Medium 2008-02-05T18:30:30 = 5 fevr. 2008 18:30:30 1995-12-22T09:05:02 = 22 dec. 1995 09:05:02 -0010-09-15T04:44:23 = 15 sept. -10 04:44:23 Short 2008-02-05T18:30:30 = 05/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 = 5 fevr. 2008 18:30:30 1995-12-22T09:05:02 = 22 dec. 1995 09:05:02 -0010-09-15T04:44:23 = 15 sept. -10 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 mar. 1995-12-22T09:05:02 = 22 ven. -0010-09-15T04:44:23 = 15 sam. 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 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 (d/M) 2008-02-05T18:30:30 = 5/2 1995-12-22T09:05:02 = 22/12 -0010-09-15T04:44:23 = 15/9 MEd (EEE d/M) 2008-02-05T18:30:30 = mar. 5/2 1995-12-22T09:05:02 = ven. 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 = fevr. 1995-12-22T09:05:02 = dec. -0010-09-15T04:44:23 = sept. MMMd (d MMM) 2008-02-05T18:30:30 = 5 fevr. 1995-12-22T09:05:02 = 22 dec. -0010-09-15T04:44:23 = 15 sept. MMMdd (dd MMM) 2008-02-05T18:30:30 = 05 fevr. 1995-12-22T09:05:02 = 22 dec. -0010-09-15T04:44:23 = 15 sept. MMMEd (E d MMM) 2008-02-05T18:30:30 = mar. 5 fevr. 1995-12-22T09:05:02 = ven. 22 dec. -0010-09-15T04:44:23 = sam. 15 sept. MMMMd (d MMMM) 2008-02-05T18:30:30 = 5 fevrier 1995-12-22T09:05:02 = 22 decembre -0010-09-15T04:44:23 = 15 septembre MMMMEd (EEE d MMMM) 2008-02-05T18:30:30 = mar. 5 fevrier 1995-12-22T09:05:02 = ven. 22 decembre -0010-09-15T04:44:23 = sam. 15 septembre 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 (M/yyyy) 2008-02-05T18:30:30 = 2/2008 1995-12-22T09:05:02 = 12/1995 -0010-09-15T04:44:23 = 9/-010 yMEd (EEE d/M/yyyy) 2008-02-05T18:30:30 = mar. 5/2/2008 1995-12-22T09:05:02 = ven. 22/12/1995 -0010-09-15T04:44:23 = sam. 15/9/-010 yMMM (MMM y) 2008-02-05T18:30:30 = fevr. 2008 1995-12-22T09:05:02 = dec. 1995 -0010-09-15T04:44:23 = sept. -10 yMMMEd (EEE d MMM y) 2008-02-05T18:30:30 = mar. 5 fevr. 2008 1995-12-22T09:05:02 = ven. 22 dec. 1995 -0010-09-15T04:44:23 = sam. 15 sept. -10 yMMMM (MMMM y) 2008-02-05T18:30:30 = fevrier 2008 1995-12-22T09:05:02 = decembre 1995 -0010-09-15T04:44:23 = septembre -10 yQ ('T'Q y) 2008-02-05T18:30:30 = T1 2008 1995-12-22T09:05:02 = T4 1995 -0010-09-15T04:44:23 = T3 -10 yQQQ (QQQ y) 2008-02-05T18:30:30 = T1 2008 1995-12-22T09:05:02 = T4 1995 -0010-09-15T04:44:23 = T3 -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 yyMMM (MMM yy) 2008-02-05T18:30:30 = fevr. 08 1995-12-22T09:05:02 = dec. 95 -0010-09-15T04:44:23 = sept. -10 yyMMMd (d MMM yy) 2008-02-05T18:30:30 = 5 fevr. 08 1995-12-22T09:05:02 = 22 dec. 95 -0010-09-15T04:44:23 = 15 sept. -10 yyMMMEEEd (EEE d MMM yy) 2008-02-05T18:30:30 = mar. 5 fevr. 08 1995-12-22T09:05:02 = ven. 22 dec. 95 -0010-09-15T04:44:23 = sam. 15 sept. -10 yyQ ('T'Q yy) 2008-02-05T18:30:30 = T1 08 1995-12-22T09:05:02 = T4 95 -0010-09-15T04:44:23 = T3 -10 yyQQQQ (QQQQ yy) 2008-02-05T18:30:30 = 1er trimestre 08 1995-12-22T09:05:02 = 4e trimestre 95 -0010-09-15T04:44:23 = 3e trimestre -10 yyyyMMMM (MMMM y) 2008-02-05T18:30:30 = fevrier 2008 1995-12-22T09:05:02 = decembre 1995 -0010-09-15T04:44:23 = septembre -10 Miscellaneous Prefers 24 hour time? Yes Local first day of the week lundi 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::fr_FR(3)
All times are GMT -4. The time now is 11:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy