Sponsored Content
Top Forums Shell Programming and Scripting Merge CSV files and create a column with the filename from the original file Post 302521351 by Klashxx on Wednesday 11th of May 2011 03:22:09 AM
Old 05-11-2011
Glad you solved it Fran, anyway Using the data you provided works fine for me.
Must be an env issue , what OS are you running ?

PD: i'm spanish but the use of english is mandatory.

Nos vemos ..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

merge two two txt files into one file based on one column

Hi, I have file1.txt and file2.txt and would like to create file3.txt based on one column in UNIX Eg: file1.txt 17328756,0000786623.pdf,0000786623 20115537,0000793892.pdf,0000793892 file2.txt 12521_74_4.zip,0000786623.pdf 12521_15_5.zip,0000793892.pdf Desired Output ... (5 Replies)
Discussion started by: techmoris
5 Replies

2. Shell Programming and Scripting

Merging files to create CSV file

Hi, I have different files of the same type, as: Time: 100 snr: 88 perf: 10 other: 222 Each of these files are created periodically. What I need to do is to merge all of them into one but having the following form: (2 Replies)
Discussion started by: Ravendark
2 Replies

3. Shell Programming and Scripting

Filename from splitting files to have the same filename of the original file with counter value

Hi all, I have a list of xml file. I need to split the files to a different files when see the <ko> tag. The list of filename are B20090908.1100-20090908.1200_CDMA=1,NO=2,SITE=3.xml B20090908.1200-20090908.1300_CDMA=1,NO=2,SITE=3.xml B20090908.1300-20090908.1400_CDMA=1,NO=2,SITE=3.xml ... (3 Replies)
Discussion started by: natalie23
3 Replies

4. Shell Programming and Scripting

How to create a CSV File by reading fields from separate files

SHELL SCRIPT Hi, I have 3 separate files within a folder. Every File contains data in a single column like File1 contains data mayank sushant dheeraj File2 contains DSA_AT MG_AT FLAT_09 File3 contains data 123123 232323 (2 Replies)
Discussion started by: mayanksargoch
2 Replies

5. Shell Programming and Scripting

create new column for filename

Hi, I created a list with 2 columns. Each line is from a different file. I am getting these with a loop in Perl. I would like to add a 3rd column with the name of the file that the line is coming from. I usually use pr to print the filename but this is not working here ... I was wondering if... (5 Replies)
Discussion started by: danieladna
5 Replies

6. UNIX for Dummies Questions & Answers

How to create a .csv file from 2 different .txt files?

Hi, I need to create a .csv file from information that i have in two different tab delimited .txt file. I just want to select some of the columns of each .txt file and paste them into a .cvs file. My files look like: File 1 transcript_id Seq. Description Seq. Length ... (2 Replies)
Discussion started by: alisrpp
2 Replies

7. Shell Programming and Scripting

Merge different files into the original file

Hello Below is my requirement I have 3 files A1.txt , A2.txt and A3.txt . A2 is dynamically generating file I want the merge of A1,A2 and A3 in A2.txt Could you please help? (3 Replies)
Discussion started by: Pratik4891
3 Replies

8. Shell Programming and Scripting

Compare 2 files of csv file and match column data and create a new csv file of them

Hi, I am newbie in shell script. I need your help to solve my problem. Firstly, I have 2 files of csv and i want to compare of the contents then the output will be written in a new csv file. File1: SourceFile,DateTimeOriginal /home/intannf/foto/IMG_0713.JPG,2015:02:17 11:14:07... (8 Replies)
Discussion started by: refrain
8 Replies

9. UNIX for Dummies Questions & Answers

Merge two csv files using column name

Hi all, I have two separate csv files(comma delimited) file 1 and file 2. File 1 contains PAN,NAME,Salary AAAAA5467D,Raj,50000 AAFAC5467D,Ram,60000 BDCFA5677D,Kumar,90000 File 2 contains PAN,NAME,Dept,Salary ASDFG6756T,Karthik,ABC,450000 QWERT8765Y,JAX,CDR,780000... (5 Replies)
Discussion started by: Nivas
5 Replies

10. Shell Programming and Scripting

I am trying to merge all csv files from source path into 1 file

I am trying to merge all csv files from source path into one single csv file in target. but getting error message: hadoop fs -cat /user/hive/warehouse/stage.db/PK_CLOUD_CHARGE/TCH-charge_*.csv > /user/hive/warehouse/stage.db/PK_CLOUD_CHARGE/final/TCH_pb_charge.csv getting error message:... (0 Replies)
Discussion started by: cplusplus1
0 Replies
Spanish(5)							File Formats Manual							Spanish(5)

NAME
Spanish, spanish - Introduction to Spanish language support DESCRIPTION
This reference page describes the codeset, locale, device, and other kinds of support for the Spanish language. Codesets The operating system supports the following coded character sets (codesets) for Spanish by means of locales, codeset converters, or both: ISO 8859-1 (ISO Latin-1) ISO8859-1 is the string that represents this codeset in the names of locales and codeset converters. See the iso8859-1(5) reference page. ISO 8859-15 (ISO Latin-9) ISO8859-15 is the string that represents this codeset in the names of locales and codeset converters. See the iso8859-15(5) refer- ence page. UCS-2, UCS-4, and UTF-8 UCS-2, UCS-4, and UTF-8 are the strings that represent these encoding formats in the names of locales and codeset converters. See the Unicode(5) reference page for more information. PC code pages cp437, cp850, and cp1250 are the strings that represent these codesets in the names of codeset converters. See the code_page(5) ref- erence page for more information. See the i18n_intro(5) and l10n_intro(5) reference pages for introductory information on codesets. The iconv_intro(5) reference page dis- cusses codeset converters and how to use them. Locales The operating system supports the following Spanish locales: es_ES.ISO8859-1, es_ES.ISO8859-15, and es_ES.UTF-8, for Spain Of these locales, only the and locales support the euro currency sign. You can use the locale command (see locale(1)) to find out which locales are installed on your system. See i18n_intro(5) for information on setting locale from the operating system command line. For the Common Desktop Environment (CDE), you set locale by setting the session language. To do this, use the Language menu accessed from the Options button of the Login window. Keyboards The operating system supports the following VT style and PC style keyboards with Spanish characters printed on the keys: ---------------------------------------------- VT Style (105/108 keys) PC Style (102 keys) ---------------------------------------------- LK201-LS LK442-PR LK401-AS LK442-PS LK411-AS LK444-AR LK450-AS LK444-AS LK461-AS LK471-AR LK46W-AS LK471-AS LK47W-AS LK97W-AR LK97W-AS PCXAL-AS PCXAL-FS PCXAL-GS PCXAL-KS ---------------------------------------------- For your keyboard to function correctly with your system, you must load a keyboard mapping table (keymap) that is appropriate for your key- board's model and language. If you load a keymap that does not correspond to your keyboard's model and language, your keyboard behavior is unpredictable. The label located on the bottom surface of a keyboard usually specifies its model (five letter code) and language (two let- ter code). See the keyboard(5) reference page for general information on keymaps and instructions for loading them in different formats. The following tables supply Spanish-specific information that you need when loading keymaps. Selecting keymaps in xkb format: --------------------------------------------------------- For VT Style For PC Style Keyboard: Select: Keyboard: Select: --------------------------------------------------------- LK201-LS lk201 LK442-PR lk442 or lk44x LK401-AS lk401 LK442-PS lk442 or lk44x LK411-AS lk411 LK444-AR lk444 or lk44x LK450-AS lk450 LK444-AS lk444 or lk44x LK451-AS lk450 LK471-AR lk471ar LK461-AS lk461 LK471-AS lk471as or lk471 LK46W-AS lk461 LK47W-AS lk471as or lk471 LK97W-AR lk97war LK97W-AS lk97was or lk97w PCXAL-AS pcxalas PCXAL-FS pcxalfs PCXAL-GS pcxalgs PCXAL-KS pcxalks --------------------------------------------------------- Selecting keymaps in xmodmap format: ------------------------------------------------------------------- For VT Style For PC Style Keyboard: Select: Keyboard: Select: ------------------------------------------------------------------- LK201-LS spanish lk201ls dp LK442-PR spanish lk444ks spanish lk201ls tw LK442-PS spanish lk444ks LK401-AS spanish lk401as dp LK444-AR spanish lk444ks spanish lk401as tw LK444-AS spanish lk444ks LK411-AS spanish lk411as LK471-AS spanish pcxalgs LK450-AS spanish lk411as LK47W-AS spanish pcxalgs LK451-AS spanish lk411as PCXAL-AS spanish pcxalgs LK461-AS spanish lk411as PCXAL-FS spanish pcxalgs LK46W-AS spanish lk411as PCXAL-GS spanish pcxalgs PCXAL-KS spanish pcxalgs ------------------------------------------------------------------- Keyboards can have keys with characters printed on both the left and right half of the keycap. The way you set or use your keyboard to send different sets of characters varies from one keyboard model to another. Furthermore, your keyboard allows you to enter more characters than those printed on the keycaps. Refer to the keyboard(5) reference page for information on how to enter characters. Printers PostScript fonts for languages supported by the ISO 8859-1 codeset are printer resident. See the i18n_printing(5) reference page for a gen- eral discussion of your printing options. SEE ALSO
Commands: locale(1) Others: code_page(5), euro(5), i18n_intro(5), i18n_printing(5), iconv_intro(5), iso8859-1(5), iso8859-15(5), keyboard(5), l10n_intro(5), Unicode(5) Writing Software for the International Market Spanish(5)
All times are GMT -4. The time now is 05:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy