Sponsored Content
Full Discussion: Awk text processing
Top Forums Shell Programming and Scripting Awk text processing Post 302385375 by xoops on Friday 8th of January 2010 02:06:48 AM
Old 01-08-2010
try this.
Code:
 
$ cat fil1
1 909 YES NO
2 500 No NO
 
$ cat fil2
1 909 262 647
2 456 234 666
 
$ join fil1 fil2
1 909 YES NO 909 262 647
2 500 No NO 456 234 666

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Processing a text file

A file contains one name per line, such as: john doe jack bruce nancy smith sam riley When I 'cat' the file, the white space is treated as a new line. For example list=`(cat /path/to/file.txt)` for items in $list do echo $items done I get: john doe (1 Reply)
Discussion started by: TheCrunge
1 Replies

2. UNIX for Dummies Questions & Answers

text file processing

Hello! There is a text file, that contains hierarchy of menues, like: Aaaaa->Bbbbb Aaaaa->Cccc Aaaaa-> {spaces} Ddddd (it means that the full path is Aaaaa->Cccc->Ddddd ) Aaaaa-> {more spaces} Eeeee (it means that the full path is Aaaaa->Cccc->Ddddd->Eeeee ) Fffffff->Ggggg... (1 Reply)
Discussion started by: alias47
1 Replies

3. Shell Programming and Scripting

text processing ( sed/awk)

hi.. I have a file having record on in 1 line.... I want every 400 characters in a new line... means in 1st line 1-400 in 2nd line - 401-800 etc pl help. (12 Replies)
Discussion started by: clx
12 Replies

4. Shell Programming and Scripting

awk, perl Script for processing a single line text file

I need a script to process a huge single line text file: The sample of the text is: "forward_inline_item": "Inline", "options_region_Australia": "Australia", "server_event_err_msg": "There was an error attempting to save", "Token": "Yes", "family": "Family","pwd_login_tab": "Enter Your... (1 Reply)
Discussion started by: hmsadiq
1 Replies

5. Programming

awk processing / Shell Script Processing to remove columns text file

Hello, I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this : This is the output of ls command : I stored the output in a file filelist 1.1M... (5 Replies)
Discussion started by: ajayram
5 Replies

6. Shell Programming and Scripting

Text processing using awk

I dispose of two tab-delimited files (the first column is the primary key): File 1 (there are multiple rows sharing the same key, I cannot merge them) A 28,29,30,31 A 17,18,19 B 11,13,14,15 B 8,9File 2 (there is one only row beginning with a given key) A 2,8,18,30,31 B ... (3 Replies)
Discussion started by: dovah
3 Replies

7. Shell Programming and Scripting

Text columns processing using awk

P { margin-bottom: 0.25cm; line-height: 120%; }CODE.cjk { font-family: "WenQuanYi Micro Hei",monospace; }CODE.ctl { font-family: "Lohit Hindi",monospace; }A:link { } I'm trying to build an awk statement to print from a file (file1): A 1,2,3 * A 4,5,6 ** B 1 ... (4 Replies)
Discussion started by: dovah
4 Replies

8. Shell Programming and Scripting

Help with text processing

I have an Input file which has a series of lines(which could vary) followed by two blank lines and then another series of lines(Could be any number of lines) followed by two blank lines and then repeats. I need to use filters to convert the following input file(which is an example) to an output... (7 Replies)
Discussion started by: bikerboy
7 Replies

9. Shell Programming and Scripting

Text processing

Hi, Need an advise on $ cat test.txt START field1 field2 field3 field4 field5 field6 END 12345|6|1|2|3|4|111|119 67890|6|1|3|8|9|112|000 $ (4 Replies)
Discussion started by: getmilo
4 Replies

10. Shell Programming and Scripting

awk for text processing

Hi,my file is in this format ", \"symbol\": \"Rbm38\" } ]" I want to convert it to a more user readable format _id pubmed text symbol 67196 18667844 Overexpression of UBE2T in NIH3T3 cells significantly promoted colony formation in mouse cell cultures Ube2t 56190 21764855 ... (3 Replies)
Discussion started by: biofreek
3 Replies
sys_attrs_kevm(5)						File Formats Manual						 sys_attrs_kevm(5)

NAME
sys_attrs_kevm - KEVM (Kernel Event Manager) subsystem attributes DESCRIPTION
This manpage lists and describes attributes for the Kernel Event Manager subsystem. See evm(5) for more information about Event Manager software. An asterisk preceding the name of an attribute in the following list means that the attribute can be configured at run time. Values of other attributes cannot be changed without rebooting the system. A value that can be used to reinitialize all of the attributes. Changing to any non-zero value causes all the attributes to be reset to zero, and then itself is automatically reset to zero. Default value: 0 Minimum value: 0 Maximum value: 2,147,483,647 If you use to change the value of the updated attribute values are not visible until you exit and restart The number of EVM events currently queued in kernel space for collection by the EVM daemon. This attribute is query only. The size (in bytes) of the fixed buffer used to queue any EVM events that are posted while the kernel is executing at interrupt level. Events are moved out of the buffer as soon as the system returns to normal operating mode. The default buffer size should be adequate for most systems. Default value: 65, 536 (bytes) Minimum value: 1 Maximum value: 1,844,674,407,370 A value that indicates whether a process (such as currently has or does not have the interface in an open state. The value 1 means that a process has the interface open (always the case if is running) and the value 0 means that no process has the interface open. This attribute is query only. The major device number being used by the interface. This attribute is query only. The number of EVM events that have been posted in the kernel since the the system was started or the counter was reset. You can reset directly, or by changing to a non-zero value. Minimum value: 0 Maximum value: 2,147,483,647 The number of EVM events that have been read from kernel space by the EVM daemon since the system was started or the counter was reset. You can reset manually or by changing to a non-zero value. Minimum value: 0 Maximum value: 2,147,483,647 The highest number of EVM events that have been queued in kernel space waiting to be collected by the EVM daemon since the system was started or the counter was reset. You can reset manually or by changing to a non-zero value. Minimum value: 0 Maximum value: 2,147,483,647 SEE ALSO
evm(5). System Administration sys_attrs_kevm(5)
All times are GMT -4. The time now is 07:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy