Sponsored Content
Top Forums Shell Programming and Scripting How to remove line break character in a file Post 302514476 by cnraja on Friday 15th of April 2011 08:00:56 PM
Old 04-15-2011
Hi,
Sample file possess Bulgaria in it,however in real scenario there might be some other name coming in terms of Bulgaria
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Remove Line Break

Dear all, Please advise what approach can remove all line break from a text file? e.g. Source file: A B C Target file: A, B, C Thanks, Rock (5 Replies)
Discussion started by: Rock
5 Replies

2. HP-UX

How to remove new line character and append new line character in a file?

Hi Experts, I have data coming in 4 columns and there are new line characters \n in between the data. I need to remove the new line characters in the middle of the row and keep the \n character at the end of the line. File is comma (,) seperated. Eg: ID,Client ,SNo,Rank 37,Airtel \n... (8 Replies)
Discussion started by: sasikari
8 Replies

3. Shell Programming and Scripting

How to remove line break in a csv file

Hi Experts, My requirement is to read the csv file and need to remove if any line break in it. sample data: Row1: "Oslo, Symra kino",Oslo,130-7,Symra 1,130-7-91 Row2:"Tønsberg, Brygga Kino SF",Tønsberg,202-1, Tønsberg SF 4,202-1-4 Expected data: Row1: "Oslo, Symra... (6 Replies)
Discussion started by: cnraja
6 Replies

4. Shell Programming and Scripting

Help to remove line break

My requirement is to read the csv file and need to remove if any line break in it. sample data: Row1: "Oslo, Symra kino",Oslo,130-7,Symra 1,130-7-91Row2:"Tønsberg, Brygga Kino SF",Tønsberg,202-1.Tønsberg SF 4,202-1-4 Expected data: Row1: "Oslo, Symra kino",Oslo,130-7,Symra... (4 Replies)
Discussion started by: cnraja
4 Replies

5. UNIX for Dummies Questions & Answers

Remove Line Break VI

I'm trying to make a script that says echo This is the date: I did this echo This is the date: date and it worked. But I need them both on the same line. And putting date on the echo line doesn't work. Is there a way to do so? (1 Reply)
Discussion started by: bbowers
1 Replies

6. Shell Programming and Scripting

How to remove new line character at end of file.

I need to remove new line character from end of file. Suppose here are content. a|b|c|d|r a|b|c|d|r a|b|c|d|r <new line> that means file contains 4 lines but data is there in 3 lines. so I want that only 3 lines should be there in file. Please help (20 Replies)
Discussion started by: varun940
20 Replies

7. Shell Programming and Scripting

Remove the last character (,) for every line in a file

Good afternoon: im working wih 2 files to find differences and use the cmp command cmp file1 file2 file1 file2 are are diifferent char 302 line1 i found what the difference is with the sed command and that is the file1 at the end of every line has a (,) (comma) character. i.e sed -n... (4 Replies)
Discussion started by: alexcol
4 Replies

8. Shell Programming and Scripting

How to Remove comma as last character in end of last line of file?

how to Remove comma as last charector in end of last line of file: example: input file --------------- aaaaaa, bbbbbb, cccc, 12345, ____________ output file : ----------- aaaaaa, bbbbbb, (6 Replies)
Discussion started by: RahulJoshi
6 Replies

9. UNIX for Dummies Questions & Answers

How to remove $ or new line character in a file?

Hi All, Could any one suggest how to remove $ symbol in a text file when i am opening in vi editor. Scenario; For example iam having a file name aaa.txt the data inside the file is like sample name when i am opening in vi editor The same file resembles like below when i am... (1 Reply)
Discussion started by: Chandru_Raj
1 Replies

10. Shell Programming and Scripting

Remove line break at specific position

Hi, I need to remove line breaks from a file, but only the ones at specific position. Input file: this is ok this line is divided at posit ion 30. The same as this one, also position 30 the rest of lines are ok with different lengths The longest ones are always s plitted at same... (15 Replies)
Discussion started by: qranumo
15 Replies
DateTime::Locale::bg_BG(3pm)				User Contributed Perl Documentation			      DateTime::Locale::bg_BG(3pm)

NAME
DateTime::Locale::bg_BG - DateTime locale package for "bg_BG" SYNOPSIS
use DateTime; my $dt = DateTime->now( locale => 'bg_BG' ); print $dt->month_name(); DESCRIPTION
This is the DateTime locale package for Bulgarian Bulgaria. DATA
This locale inherits from the DateTime::Locale::bg locale. It contains the following data. Days Wide (format) XXXXXXXXXX XXXXXXX XXXXX XXXXXXXXX XXXXX XXXXXX XXXXXX Abbreviated (format) XX XX XX XX XX XX XX Narrow (format) X X X X X X X Wide (stand-alone) XXXXXXXXXX XXXXXXX XXXXX XXXXXXXXX XXXXX XXXXXX XXXXXX Abbreviated (stand-alone) XX XX XX XX XX XX XX Narrow (stand-alone) X X X X X X X Months Wide (format) XXXXXX XXXXXXXX XXXX XXXXX XXX XXX XXX XXXXXX XXXXXXXXX XXXXXXXX XXXXXXX XXXXXXXX Abbreviated (format) XX. XXXX. XXXX XXX. XXX XXX XXX XXX. XXXX. XXX. XXXX. XXX. Narrow (format) X X X X X X X X X X X X Wide (stand-alone) XXXXXX XXXXXXXX XXXX XXXXX XXX XXX XXX XXXXXX XXXXXXXXX XXXXXXXX XXXXXXX XXXXXXXX Abbreviated (stand-alone) XX. XXXX. XXXX XXX. XXX XXX XXX XXX. XXXX. XXX. XXXX. XXX. Narrow (stand-alone) X X X X X X X X X X X X Quarters Wide (format) 1-XX XXXXXXXXXX 2-XX XXXXXXXXXX 3-XX XXXXXXXXXX 4-XX XXXXXXXXXX Abbreviated (format) I XXXX. II XXXX. III XXXX. IV XXXX. Narrow (format) 1 2 3 4 Wide (stand-alone) 1-XX XXXXXXXXXX 2-XX XXXXXXXXXX 3-XX XXXXXXXXXX 4-XX XXXXXXXXXX Abbreviated (stand-alone) I XXXX. II XXXX. III XXXX. IV XXXX. Narrow (stand-alone) 1 2 3 4 Eras Wide XX.XX. XX.XX. Abbreviated XX. X. X. XX X. X. Narrow XX. X. X. XX X. X. Date Formats Full 2008-02-05T18:30:30 = 05 XXXXXXXX 2008, XXXXXXX 1995-12-22T09:05:02 = 22 XXXXXXXX 1995, XXXXX -0010-09-15T04:44:23 = 15 XXXXXXXXX -10, XXXXXX Long 2008-02-05T18:30:30 = 05 XXXXXXXX 2008 1995-12-22T09:05:02 = 22 XXXXXXXX 1995 -0010-09-15T04:44:23 = 15 XXXXXXXXX -10 Medium 2008-02-05T18:30:30 = 05.02.2008 1995-12-22T09:05:02 = 22.12.1995 -0010-09-15T04:44:23 = 15.09.-010 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.02.2008 1995-12-22T09:05:02 = 22.12.1995 -0010-09-15T04:44:23 = 15.09.-010 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 = 05 XXXXXXXX 2008, XXXXXXX 18:30:30 UTC 1995-12-22T09:05:02 = 22 XXXXXXXX 1995, XXXXX 09:05:02 UTC -0010-09-15T04:44:23 = 15 XXXXXXXXX -10, XXXXXX 04:44:23 UTC Long 2008-02-05T18:30:30 = 05 XXXXXXXX 2008 18:30:30 UTC 1995-12-22T09:05:02 = 22 XXXXXXXX 1995 09:05:02 UTC -0010-09-15T04:44:23 = 15 XXXXXXXXX -10 04:44:23 UTC Medium 2008-02-05T18:30:30 = 05.02.2008 18:30:30 1995-12-22T09:05:02 = 22.12.1995 09:05:02 -0010-09-15T04:44:23 = 15.09.-010 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 = 05.02.2008 18:30:30 1995-12-22T09:05:02 = 22.12.1995 09:05:02 -0010-09-15T04:44:23 = 15.09.-010 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 Ed (E d) 2008-02-05T18:30:30 = XX 5 1995-12-22T09:05:02 = XX 22 -0010-09-15T04:44:23 = XX 15 EEEd (d EEE) 2008-02-05T18:30:30 = 5 XX 1995-12-22T09:05:02 = 22 XX -0010-09-15T04:44:23 = 15 XX H (H) 2008-02-05T18:30:30 = 18 1995-12-22T09:05:02 = 9 -0010-09-15T04:44:23 = 4 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 XX. XX. 1995-12-22T09:05:02 = 9:05 XX. XX. -0010-09-15T04:44:23 = 4:44 XX. XX. hmm (h:mm a) 2008-02-05T18:30:30 = 6:30 XX. XX. 1995-12-22T09:05:02 = 9:05 XX. XX. -0010-09-15T04:44:23 = 4:44 XX. XX. hmmss (h:mm:ss a) 2008-02-05T18:30:30 = 6:30:30 XX. XX. 1995-12-22T09:05:02 = 9:05:02 XX. XX. -0010-09-15T04:44:23 = 4:44:23 XX. XX. 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 XX. XX. 1995-12-22T09:05:02 = 9:05:02 XX. XX. -0010-09-15T04:44:23 = 4:44:23 XX. XX. 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 = XX, 2-5 1995-12-22T09:05:02 = XX, 12-22 -0010-09-15T04:44:23 = XX, 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 = XXXX. 1995-12-22T09:05:02 = XXX. -0010-09-15T04:44:23 = XXXX. MMMd (MMM d) 2008-02-05T18:30:30 = XXXX. 5 1995-12-22T09:05:02 = XXX. 22 -0010-09-15T04:44:23 = XXXX. 15 MMMEd (d MMM, E) 2008-02-05T18:30:30 = 5 XXXX., XX 1995-12-22T09:05:02 = 22 XXX., XX -0010-09-15T04:44:23 = 15 XXXX., XX MMMMd (d MMMM) 2008-02-05T18:30:30 = 5 XXXXXXXX 1995-12-22T09:05:02 = 22 XXXXXXXX -0010-09-15T04:44:23 = 15 XXXXXXXXX MMMMdd (dd MMMM) 2008-02-05T18:30:30 = 05 XXXXXXXX 1995-12-22T09:05:02 = 22 XXXXXXXX -0010-09-15T04:44:23 = 15 XXXXXXXXX MMMMEd (E MMMM d) 2008-02-05T18:30:30 = XX XXXXXXXX 5 1995-12-22T09:05:02 = XX XXXXXXXX 22 -0010-09-15T04:44:23 = XX XXXXXXXXX 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 = XX, 2008-2-5 1995-12-22T09:05:02 = XX, 1995-12-22 -0010-09-15T04:44:23 = XX, -10-9-15 yMMM (y MMM) 2008-02-05T18:30:30 = 2008 XXXX. 1995-12-22T09:05:02 = 1995 XXX. -0010-09-15T04:44:23 = -10 XXXX. yMMMEd (EEE, y MMM d) 2008-02-05T18:30:30 = XX, 2008 XXXX. 5 1995-12-22T09:05:02 = XX, 1995 XXX. 22 -0010-09-15T04:44:23 = XX, -10 XXXX. 15 yMMMM (y MMMM) 2008-02-05T18:30:30 = 2008 XXXXXXXX 1995-12-22T09:05:02 = 1995 XXXXXXXX -0010-09-15T04:44:23 = -10 XXXXXXXXX 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 I XXXX. 1995-12-22T09:05:02 = 1995 IV XXXX. -0010-09-15T04:44:23 = -10 III XXXX. 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 yyyy (y) 2008-02-05T18:30:30 = 2008 1995-12-22T09:05:02 = 1995 -0010-09-15T04:44:23 = -10 yyyyMM (MM.yyyy) 2008-02-05T18:30:30 = 02.2008 1995-12-22T09:05:02 = 12.1995 -0010-09-15T04:44:23 = 09.-010 yyyyMMMM (MMMM y) 2008-02-05T18:30:30 = XXXXXXXX 2008 1995-12-22T09:05:02 = XXXXXXXX 1995 -0010-09-15T04:44:23 = XXXXXXXXX -10 yyyyQQQQ (QQQQ y 'X'.) 2008-02-05T18:30:30 = 1-XX XXXXXXXXXX 2008 X. 1995-12-22T09:05:02 = 4-XX XXXXXXXXXX 1995 X. -0010-09-15T04:44:23 = 3-XX XXXXXXXXXX -10 X. 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.10.1 2010-03-19 DateTime::Locale::bg_BG(3pm)
All times are GMT -4. The time now is 01:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy