01-19-2007
Concatenate text of two files in UNIX.
I have a file MyTest.csv saved in Unicode format in Incoming directory, and I have another file called MyTest.csv saved in ANSII format in InProcess Directory.
I need to concatenate the text of both these files and put in another file MyTest.csv which is placed in the root directory.
How do I do the same?
When I use a normal CAT command in UNIX I am getting the attached error.
If I try to open the file saved in ANSII format I am able to open, but I am unable to open the file which is saved in Unicode format?
Please suggest a way to concatenate the files saved in different formats (viz Unicode and ANSII) in UNIX box.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I would like to concatenate several thousand files (~40,000) into 1. I cannot do it with cat *.extension - it gives me an error that there are too many arguments.
Any suggestions?
Thanks,
Gussi (6 Replies)
Discussion started by: Gussifinknottle
6 Replies
2. Shell Programming and Scripting
I have directory structure sales_only under which i have multiple directories for each dealer
example:
../../../Sales_Only/xxx_Dealer
../../../Sales_Only/yyy_Dealer
../../../Sales_Only/zzz_Dealer
Every day i have one file produce under each directory when the process runs.
The requirement... (3 Replies)
Discussion started by: mohanmuthu
3 Replies
3. Shell Programming and Scripting
Hi, I want to create a batch(bash) file to combine 23 files together. These files have the same extension. I want the final file is save to a given folder. Once it is done it will delete the 23 files.
Thanks for help. Need script. (6 Replies)
Discussion started by: zhshqzyc
6 Replies
4. Shell Programming and Scripting
Hi. I'm attempting to copy 4 text files together to create one larger file. All four files contain text in the same format. Can I do this?
I attempted this, but it didn't work:
cp wscreening_test_h_po.dat+wscreening_test_b_po.dat+wscreening_test_h_notpo.dat... (1 Reply)
Discussion started by: buechler66
1 Replies
5. Shell Programming and Scripting
In any given file, wherever a certain data block exists I need to concatenate the values(text after each "=" sign) from that block. in that block. The block starts and ends with specific pattern, say BEGIN DS and END DS respectively. The block size may vary. A file will have multiple such blocks.... (12 Replies)
Discussion started by: Prev
12 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am trying to learn linux step by step an i am wondering
can i use cat command for concatenate files but i want to place context of file1 to a specific position in file2 place of file 2 and not at the end as it dose on default?
Thank you. (3 Replies)
Discussion started by: iliya24
3 Replies
7. UNIX for Dummies Questions & Answers
- Concatenate files and delete source files. Also have to add a comment.
- I need to concatenate 3 files which have the same characters in the beginning and have to remove those files and add a comment and the end.
Example:
cat REJ_FILE_ABC.txt REJ_FILE_XYZ.txt REJ_FILE_PQR.txt >... (0 Replies)
Discussion started by: eskay
0 Replies
8. Programming
Hi
mY files paths are defined as :
//sbase = 'D:\data\sample_AMC\fasta_files\';
sbase2 = 'D:\data\sample_AMC\fasta_files\results\';
snameprefix = 'orig_ind';
snameprefix3 = 'results_ind';
...
const string filname = sbase + snameprefix + snamesuffix;
const string resultsname_ =... (2 Replies)
Discussion started by: siya@
2 Replies
9. Shell Programming and Scripting
I have a text file in the below format:
chr1 10002681 10002826 LZIC
chr1 10002980 10003083 NMNAT1
chr1 10003485 10003573 NMNAT1
chr1 100111430 100111918 PALMD
chr1 100127874 100127955 PALMD
chr1 100133197 100133322 PALMD
chr1 100152231 100152346 PALMD
chr1 100152485 100152519 PALMD... (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT DEBIAN
unicode::stringprep::prohibited
Unicode::Stringprep::Prohibited(3pm) User Contributed Perl Documentation Unicode::Stringprep::Prohibited(3pm)
NAME
Unicode::Stringprep::Prohibited - Tables from RFC 3454, Appendix C
SYNOPSIS
@Unicode::Stringprep::Prohibited::C11 # Appendix C.1.1
@Unicode::Stringprep::Prohibited::C12 # Appendix C.1.2
@Unicode::Stringprep::Prohibited::C21 # Appendix C.2.1
@Unicode::Stringprep::Prohibited::C22 # Appendix C.2.2
@Unicode::Stringprep::Prohibited::C3 # Appendix C.3
@Unicode::Stringprep::Prohibited::C4 # Appendix C.4
@Unicode::Stringprep::Prohibited::C5 # Appendix C.5
@Unicode::Stringprep::Prohibited::C6 # Appendix C.6
@Unicode::Stringprep::Prohibited::C7 # Appendix C.7
@Unicode::Stringprep::Prohibited::C8 # Appendix C.8
@Unicode::Stringprep::Prohibited::C9 # Appendix C.9
DESCRIPTION
The tables are provided as arrays, which contain pairs of Unicode codepoints (as integers) defining the start and end of a Unicode range.
This module exports nothing.
AUTHOR
Claus Faerber <CFAERBER@cpan.org>
LICENSE
Copyright 2007-2009 Claus Faerber.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Unicode::Stringprep, RFC 3454 (<http://www.ietf.org/rfc/rfc3454.txt>)
perl v5.14.2 2012-06-30 Unicode::Stringprep::Prohibited(3pm)