Sponsored Content
Top Forums Shell Programming and Scripting Help Please. Need to add quotes to o field Post 98752 by tjbopp on Friday 10th of February 2006 03:52:59 PM
Old 02-10-2006
Thanks to everyone.
I appreciate it.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

add increment field when first field changes

Hi I have a file that looks like the following: Name1 aaa bbbb Name1 ffd hhghg Name1 dffg ghhhh Name2 rtrt dfff Name2 rrtfr tgtt Name2 dsddf gfggf Name2 ffffg gfgf NAme3 fdff ghhgh Is it possible to format it so that a number... (2 Replies)
Discussion started by: azekry
2 Replies

2. UNIX for Dummies Questions & Answers

Add single quotes in string

Hi All, I love this site, it helps newbie people like me and I appreciate everyone's help! Here is my questions. I am trying to concatenate a single quote into a character/string from a text file for each line (lets say ABC should look like 'ABC'). I tried to use awk print command to do... (1 Reply)
Discussion started by: mrjunsy
1 Replies

3. Shell Programming and Scripting

Add double quotes around the string

I have a line in multiple scripts:select into table /dir1/dir2/file.dat dir1 and dir2 are the same but file.dat is different from script to script. I need to include /dir1/dir2/file.dat into double quotes in each file of my directory:select into table "/dir1/dir2/file.dat" (13 Replies)
Discussion started by: surfer515
13 Replies

4. Shell Programming and Scripting

awk field equal something, then add something to the field

Hi Everyone, a.txt a b c 1 e e e e e a b c 2 e e e e e the output is a b c 1 e e e e e a 00b c 2 e e e e e when 4th field = '2', then add '00' in the front of 2nd field value. Thanks (9 Replies)
Discussion started by: jimmy_y
9 Replies

5. Shell Programming and Scripting

Add field delimiter for the last field

I have a file with three fields and field delimiter '|' like: abc|12:13:45|123 xyz|12:87:32| qwe|54:21:09 In the file the 1st line has proper data -> abc|12:13:45|123 ,the 2nd line doesnt has data for the 3rd field which is okay , the 3rd line doesnt has data for the 3rd field as well the... (5 Replies)
Discussion started by: mehimadri
5 Replies

6. UNIX for Dummies Questions & Answers

Cut a field from a line having quotes as delimiter

Hi , I have extract a single field from the 2nd row of a file of which the format is as given below "Field1","Field2","Field3",...,"Field17",... I need to cut Field17 as such (no quotes required).. I give the command head -2 file_name | tail -1 | cut -d "," -f17 But the output is... (2 Replies)
Discussion started by: nivin_govindan
2 Replies

7. Shell Programming and Scripting

awk, comma as field separator and text inside double quotes as a field.

Hi, all I need to get fields in a line that are separated by commas, some of the fields are enclosed with double quotes, and they are supposed to be treated as a single field even if there are commas inside the quotes. sample input: for this line, 5 fields are supposed to be extracted, they... (8 Replies)
Discussion started by: kevintse
8 Replies

8. Shell Programming and Scripting

awk - single quotes as field separator

How can I use single quotes as field separator in awk? (1 Reply)
Discussion started by: locoroco
1 Replies

9. Shell Programming and Scripting

Remove quotes and commas from field

In the attached file I am trying to remove all the "" and , (quotes and commas) from $2 and $3 and the "" (quotes) from $4. I tried the below as a start: awk -F"|" '{gsub(/\,/,X,$2)} 1' OFS="\t" enhancer.txt > comma.txt Thank you :). (6 Replies)
Discussion started by: cmccabe
6 Replies

10. Shell Programming and Scripting

awk to parse comma separated field and removing comma in between number and double quotes

Hi Experts, Please support I have below data in file in comma seperated, but 4th column is containing comma in between numbers, bcz of which when i tried to parse the file the column 6th value(5049641141) is being removed from the file and value(222.82) in column 5 becoming value of column6. ... (3 Replies)
Discussion started by: as7951
3 Replies
DateTime::Locale::so(3) 				User Contributed Perl Documentation				   DateTime::Locale::so(3)

NAME
DateTime::Locale::so SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'so' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Somali. DATA
This locale inherits from the DateTime::Locale::root locale. It contains the following data. Days Wide (format) Isniin Salaaso Arbaco Khamiis Jimco Sabti Axad Abbreviated (format) Isn Sal Arb Kha Jim Sab Axa Narrow (format) I S A K J S A Wide (stand-alone) Isniin Salaaso Arbaco Khamiis Jimco Sabti Axad Abbreviated (stand-alone) Isn Sal Arb Kha Jim Sab Axa Narrow (stand-alone) I S A K J S A Months Wide (format) Bisha Koobaad Bisha Labaad Bisha Saddexaad Bisha Afraad Bisha Shanaad Bisha Lixaad Bisha Todobaad Bisha Sideedaad Bisha Sagaalaad Bisha Tobnaad Bisha Kow iyo Tobnaad Bisha Laba iyo Tobnaad Abbreviated (format) Kob Lab Sad Afr Sha Lix Tod Sid Sag Tob KIT LIT Narrow (format) K L S A S L T S S T K L Wide (stand-alone) Bisha Koobaad Bisha Labaad Bisha Saddexaad Bisha Afraad Bisha Shanaad Bisha Lixaad Bisha Todobaad Bisha Sideedaad Bisha Sagaalaad Bisha Tobnaad Bisha Kow iyo Tobnaad Bisha Laba iyo Tobnaad Abbreviated (stand-alone) Kob Lab Sad Afr Sha Lix Tod Sid Sag Tob KIT LIT Narrow (stand-alone) K L S A S L T S S T K L Quarters Wide (format) Q1 Q2 Q3 Q4 Abbreviated (format) Q1 Q2 Q3 Q4 Narrow (format) 1 2 3 4 Wide (stand-alone) Q1 Q2 Q3 Q4 Abbreviated (stand-alone) Q1 Q2 Q3 Q4 Narrow (stand-alone) 1 2 3 4 Eras Wide BCE CE Abbreviated Ciise ka hor Ciise ka dib Narrow Ciise ka hor Ciise ka dib Date Formats Full 2008-02-05T18:30:30 = Salaaso, Bisha Labaad 05, 2008 1995-12-22T09:05:02 = Jimco, Bisha Laba iyo Tobnaad 22, 1995 -0010-09-15T04:44:23 = Sabti, Bisha Sagaalaad 15, -10 Long 2008-02-05T18:30:30 = 05 Bisha Labaad 2008 1995-12-22T09:05:02 = 22 Bisha Laba iyo Tobnaad 1995 -0010-09-15T04:44:23 = 15 Bisha Sagaalaad -10 Medium 2008-02-05T18:30:30 = 05-Lab-2008 1995-12-22T09:05:02 = 22-LIT-1995 -0010-09-15T04:44:23 = 15-Sag--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 = 05-Lab-2008 1995-12-22T09:05:02 = 22-LIT-1995 -0010-09-15T04:44:23 = 15-Sag--10 Time Formats Full 2008-02-05T18:30:30 = 6:30:30 gn UTC 1995-12-22T09:05:02 = 9:05:02 sn UTC -0010-09-15T04:44:23 = 4:44:23 sn UTC Long 2008-02-05T18:30:30 = 6:30:30 gn UTC 1995-12-22T09:05:02 = 9:05:02 sn UTC -0010-09-15T04:44:23 = 4:44:23 sn UTC Medium 2008-02-05T18:30:30 = 6:30:30 gn 1995-12-22T09:05:02 = 9:05:02 sn -0010-09-15T04:44:23 = 4:44:23 sn Short 2008-02-05T18:30:30 = 6:30 gn 1995-12-22T09:05:02 = 9:05 sn -0010-09-15T04:44:23 = 4:44 sn Default 2008-02-05T18:30:30 = 6:30:30 gn 1995-12-22T09:05:02 = 9:05:02 sn -0010-09-15T04:44:23 = 4:44:23 sn Datetime Formats Full 2008-02-05T18:30:30 = Salaaso, Bisha Labaad 05, 2008 6:30:30 gn UTC 1995-12-22T09:05:02 = Jimco, Bisha Laba iyo Tobnaad 22, 1995 9:05:02 sn UTC -0010-09-15T04:44:23 = Sabti, Bisha Sagaalaad 15, -10 4:44:23 sn UTC Long 2008-02-05T18:30:30 = 05 Bisha Labaad 2008 6:30:30 gn UTC 1995-12-22T09:05:02 = 22 Bisha Laba iyo Tobnaad 1995 9:05:02 sn UTC -0010-09-15T04:44:23 = 15 Bisha Sagaalaad -10 4:44:23 sn UTC Medium 2008-02-05T18:30:30 = 05-Lab-2008 6:30:30 gn 1995-12-22T09:05:02 = 22-LIT-1995 9:05:02 sn -0010-09-15T04:44:23 = 15-Sag--10 4:44:23 sn Short 2008-02-05T18:30:30 = 05/02/08 6:30 gn 1995-12-22T09:05:02 = 22/12/95 9:05 sn -0010-09-15T04:44:23 = 15/09/-10 4:44 sn Default 2008-02-05T18:30:30 = 05-Lab-2008 6:30:30 gn 1995-12-22T09:05:02 = 22-LIT-1995 9:05:02 sn -0010-09-15T04:44:23 = 15-Sag--10 4:44:23 sn 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 Sal 1995-12-22T09:05:02 = 22 Jim -0010-09-15T04:44:23 = 15 Sab 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 gn 1995-12-22T09:05:02 = 9:05 sn -0010-09-15T04:44:23 = 4:44 sn 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 gn 1995-12-22T09:05:02 = 9:05:02 sn -0010-09-15T04:44:23 = 4:44:23 sn 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 = Sal, 2-5 1995-12-22T09:05:02 = Jim, 12-22 -0010-09-15T04:44:23 = Sab, 9-15 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 = Lab 1995-12-22T09:05:02 = LIT -0010-09-15T04:44:23 = Sag MMMd (MMM d) 2008-02-05T18:30:30 = Lab 5 1995-12-22T09:05:02 = LIT 22 -0010-09-15T04:44:23 = Sag 15 MMMEd (E MMM d) 2008-02-05T18:30:30 = Sal Lab 5 1995-12-22T09:05:02 = Jim LIT 22 -0010-09-15T04:44:23 = Sab Sag 15 MMMMd (MMMM d) 2008-02-05T18:30:30 = Bisha Labaad 5 1995-12-22T09:05:02 = Bisha Laba iyo Tobnaad 22 -0010-09-15T04:44:23 = Bisha Sagaalaad 15 MMMMdd (dd MMMM) 2008-02-05T18:30:30 = 05 Bisha Labaad 1995-12-22T09:05:02 = 22 Bisha Laba iyo Tobnaad -0010-09-15T04:44:23 = 15 Bisha Sagaalaad MMMMEd (E MMMM d) 2008-02-05T18:30:30 = Sal Bisha Labaad 5 1995-12-22T09:05:02 = Jim Bisha Laba iyo Tobnaad 22 -0010-09-15T04:44:23 = Sab Bisha Sagaalaad 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 = Sal, 2008-2-5 1995-12-22T09:05:02 = Jim, 1995-12-22 -0010-09-15T04:44:23 = Sab, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 Lab 1995-12-22T09:05:02 = 1995 LIT -0010-09-15T04:44:23 = -10 Sag yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = Sal, 2008 Lab 5 1995-12-22T09:05:02 = Jim, 1995 LIT 22 -0010-09-15T04:44:23 = Sab, -10 Sag 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 Bisha Labaad 1995-12-22T09:05:02 = 1995 Bisha Laba iyo Tobnaad -0010-09-15T04:44:23 = -10 Bisha Sagaalaad 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 yyMM (MM/yy) 2008-02-05T18:30:30 = 02/08 1995-12-22T09:05:02 = 12/95 -0010-09-15T04:44:23 = 09/-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 yyyyMMMM (MMMM y) 2008-02-05T18:30:30 = Bisha Labaad 2008 1995-12-22T09:05:02 = Bisha Laba iyo Tobnaad 1995 -0010-09-15T04:44:23 = Bisha Sagaalaad -10 Miscellaneous Prefers 24 hour time? No Local first day of the week Isniin 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::so(3)
All times are GMT -4. The time now is 02:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy