Sponsored Content
Top Forums Shell Programming and Scripting search information in multiple files and save in new files Post 302720169 by andreia on Tuesday 23rd of October 2012 02:01:17 PM
Old 10-23-2012
sorry dont work out Smilie

and its for all files .gbk that i found Equinodermata inside save in different file not all together but its ok ... thanks for your help Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Multiple search string in multiple files using awk

Hi, filenames: contains name of list of files to search in. placelist contains the names of places to be searched in all files in "filenames" for i in $(<filenames) do egrep -f placelist $i if ] then echo $i fi done >> outputfile Output i am getting: (0 Replies)
Discussion started by: pinnacle
0 Replies

2. Shell Programming and Scripting

Merging information from multiple files to a single file

Hello, I am new to unix and need help with a problem. I have 2 files each containing multiple columns of information ie; File 1 : A B C D E 1 2 3 4 5 File 2 : F G 6 7 I would like to merge the information from File 2 to File 1 so that the data reads as follows; File 1: A... (4 Replies)
Discussion started by: crunchie
4 Replies

3. Shell Programming and Scripting

Search multiple patterns in multiple files

Hi, I have to write one script that has to search a list of numbers in certain zipped files. For eg. one file file1.txt contains the numbers. File1.txt contains 5,00,000 numbers and I have to search each number in zipped files(The number of zipped files are around 1000 each file is 5 MB) I have... (10 Replies)
Discussion started by: vsachan
10 Replies

4. Solaris

How to search for a word in multiple files

Hi, I want to find for a particular word which is existing in different files and folders under the parent directory. What command can I use to retrieve all the file names which is having the word. (1 Reply)
Discussion started by: rogerben
1 Replies

5. Shell Programming and Scripting

extracting information from multiple files

Hello there, I am trying to extract (string) information ( a list words) from 4 files and then put the results into 1 file. Currently I am doing this using grep -f list.txt file1 . and repeat the process for the other 3 files. The reasons i am doing that (a) I do know how to code (b) each file... (4 Replies)
Discussion started by: houkto
4 Replies

6. Shell Programming and Scripting

reading information from a table and apply a command on multiple files

Hey gyuz, I wanna calculate the number of mapped reads of a bam file in a region of interest. I used this code to do so : samtools view input.bam chrname:region1 > region1.txt This will store all the reads from given bam file within the region of interest in region1.txt Now I have... (5 Replies)
Discussion started by: @man
5 Replies

7. Shell Programming and Scripting

Search & Replace: Multiple Strings / Multiple Files

I have a list of files all over a file system e.g. /home/1/foo/bar.x /www/sites/moose/foo.txtI'm looking for strings in these files and want to replace each occurrence with a replacement string, e.g. if I find: '#@!^\&@ in any of the files I want to replace it with: 655#@11, etc. There... (2 Replies)
Discussion started by: spacegoose
2 Replies

8. Shell Programming and Scripting

Search and Replace in multiple files

Hello, I have hundreds of files in which I need to change email address. Here is what I am trying to do: 1. All text files are in a directory "a" 2. In the text file, I want to replace email address for preparer. All these lines start with {{PreparerEmail and end with }}. The email... (3 Replies)
Discussion started by: cartrider
3 Replies

9. Shell Programming and Scripting

Search for multiple files

I need to look for 3 files in a particular directory, if they are > 0kb. If files exist proceed further, if not mail out saying one of the file is missing. All the 3 files should be present. Please see my script below and correct if needed. Anyway, it is not working. #! /bin/bash... (13 Replies)
Discussion started by: Radfelder
13 Replies

10. UNIX for Beginners Questions & Answers

Issue with search and replacing multiple items in multiple files

Im having an issue when trying to replace the first column with a new set of values in multiple files. The results from the following code only replaces the files with the last set of values in val.txt. I want to replace all the files with all the values. for date in {1..31} do for val in... (1 Reply)
Discussion started by: ncwxpanther
1 Replies
GBK(5)								File Formats Manual							    GBK(5)

NAME
GBK, gbk - A character encoding system (codeset) for Simplified Chinese DESCRIPTION
The GBK character set is an extension to the GB 2312-80 character set. (The "K" in "GBK" is the first sound in the Chinese word "Kuo Zhan," which means "extension.") GBK includes all the Hanzi characters specified by the ISO 10646-1:1993 standard (characters also known as the GB 13000.1.93 character set) that are not included in GB 2312-80. GBK is therefore defined as a normative annex of GB13000.1-93. GBK Value Ranges and Code Points The GBK codeset is divided into five levels, as follows: ------------------------------------------------------------ Level Encoding Range Code Points Characters ------------------------------------------------------------ GBK/1 0xA1A1-0xA9FE 846 717 GBK/2 0xB0A1-0xF7FE 6,768 6,763 GBK/3 0x8140-0xA0FE 6,080 6,080 GBK/4 0xAA40-0xFE40 8,160 8,160 GBK/5 0xA840-0xA9A0 192 166 ------------------------------------------------------------ In addition, GBK includes code points for user-defined characters, as follows: ----------------------------- Encoding Range Code Points ----------------------------- 0xAAA1-0xAFFE 564 0xF8A1-0xFEFE 658 0xA140-0xA7A0 672 ----------------------------- GBK therefore provides a total of 23,940 code points, 21,886 of which are assigned. Each row in the GBK code table consists of 190 characters. ASCII characters, which are single-byte characters, are defined in the range 0x21-0x7E. Encoding ranges for two-byte characters are as follows: Encoding range for the first byte: 0x81-0xFE Encoding ranges for the second byte: 0x40-0x7E and 0x80-0xFE Note In terms of character-to-code allocation, the sub-range for GB2321-80 characters (0xA1A1-0xFEFE) in GBK is the same encoding range defined for these characters in Extended UNIX Code (EUC). GBK is therefore backward compatible with Chinese EUC encoding as well as forward compat- ible with the encoding as defined by ISO 10646-1:1993. GBK is the standard character set and encoding used in the Simplified Chinese version of Windows 95. Codeset Converters for GBK The following codeset converters are available for GBK: GBK_UCS-2 GBK_UCS-4 GBK_UTF-8 UCS-2_GBK UCS-4_GBK UTF-8_GBK See iconv_intro(5) for more information about codeset converters and Unicode(5) for information about the UCS-2, UCS-4, and UTF-8 encoding formats. Fonts for GBK The operating system provides the following TrueType fonts for GBK: -huatian-fangsong-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0 -huatian- fangsong-medium-r-normal--0-0-0-0-c-0-gb2312.1980-1 -huatian-fangsong-medium-r-normal--0-0-0-0-c-0-gbk-1 -huatian-fangsong-medium-r-nor- mal--0-0-0-0-m-0-iso8859-1 -huatian-heiti-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0 -huatian-heiti-medium-r-normal--0-0-0-0-c-0-gb2312.1980-1 -huatian-heiti- medium-r-normal--0-0-0-0-c-0-gbk-1 -huatian-heiti-medium-r-normal--0-0-0-0-m-0-iso8859-1 -huatian-kaiti-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0 -huatian-kaiti-medium-r-normal--0-0-0-0-c-0-gb2312.1980-1 -huatian-kaiti- medium-r-normal--0-0-0-0-c-0-gbk-1 -huatian-kaiti-medium-r-normal--0-0-0-0-m-0-iso8859-1 -huatian-songti-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0 -huatian-songti-medium-r-normal--0-0-0-0-c-0-gb2312.1980-1 -huatian- songti-medium-r-normal--0-0-0-0-c-0-gbk-1 -huatian-songti-medium-r-normal--0-0-0-0-m-0-iso8859-1 These fonts can be used for printing only with Chinese text printers. The SongTi fonts are the default screen fonts for the GBK codeset. SEE ALSO
Commands: locale(1) Others: ascii(5), big5(5), Chinese(5), dechanyu(5), dechanzi(5), eucTW(5), i18n_intro(5), i18n_printing(5), l10n_intro(5), sbig5(5), tele- code(5) GBK(5)
All times are GMT -4. The time now is 06:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy