Sponsored Content
Top Forums Shell Programming and Scripting Need to search string from file 1 in one of columns of file 2 Post 302742161 by wiety on Monday 10th of December 2012 04:31:33 PM
Old 12-10-2012
thanks ! seems to be working well!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to search string and number in one file and check in the other file

Hi, Can anyone help in the below problem. file1 has the below contents fileset 999 primary-ilist inode 37020 has invalid dotdot (426094) -> Not exist fileset 999 primary-ilist inode 115016 dup block ->... (9 Replies)
Discussion started by: knshree
9 Replies

2. UNIX for Dummies Questions & Answers

how can search a String in one text file and replace the whole line in another file

i am very new to UNIX plz help me in this scenario i have two text files as below file1.txt name=Rajakumar. Discipline=Electronics and communication. Designation=software Engineer. file2.txt name=Kannan. Discipline=Mechanical. Designation=CADD Design Engineer. ... (6 Replies)
Discussion started by: kkraja
6 Replies

3. Shell Programming and Scripting

search string in a file and retrieve 10 lines including string line

Hi Guys, I am trying to write a perl script to search a string "Name" in the file "FILE" and also want to create a new file and push the searched string Name line along with 10 lines following the same. can anyone of you please let me know how to go about it ? (8 Replies)
Discussion started by: sukrish
8 Replies

4. Shell Programming and Scripting

Search a string in a text file and add another string at the particular position of a line

I am having a text file which is having more than 200 lines. EX: 001010122 12000 BIB 12000 11200 1200003 001010122 2000 AND 12000 11200 1200003 001010122 12000 KVB 12000 11200 1200003 In the above file i want to search for string KVB and add/replace... (1 Reply)
Discussion started by: suryanarayana
1 Replies

5. Shell Programming and Scripting

Search a string in a text file and add another string at the end of line

Dear All I am having a text file which is having more than 200 lines. EX: 001010122 12000 BIB 12000 11200 1200003 001010122 2000 AND 12000 11200 1200003 001010122 12000 KVB 12000 11200 1200003 In the above file i want to search for string KVB... (5 Replies)
Discussion started by: suryanarayana
5 Replies

6. Shell Programming and Scripting

Need to search a particular String form a file a write to another file using perl script

I have file which contains a huge amount of data. I need to search the pattern Message id. When that pattern is matched I need to get abcdeff0-1g6g-91g3-1z2z-2mm605m90000 to another file. Kindly provide your input. File is like below Jan 11 04:05:10 linux100 |NOTICE... (2 Replies)
Discussion started by: Raysf
2 Replies

7. Shell Programming and Scripting

Search string within a file and list common words from the line having the search string

Hi, Need your help for this scripting issue I have. I am not really good at this, so seeking your help. I have a file looking similar to this: Hello, i am human and name=ABCD. How are you? Hello, i am human and name=PQRS. I am good. Hello, i am human and name=ABCD. Good bye. Hello, i... (12 Replies)
Discussion started by: royzlife
12 Replies

8. Shell Programming and Scripting

Read in search strings from text file, search for string in second text file and output to CSV

Hi guys, I have a text file named file1.txt that is formatted like this: 001 , ID , 20000 002 , Name , Brandon 003 , Phone_Number , 616-234-1999 004 , SSNumber , 234-23-234 005 , Model , Toyota 007 , Engine ,V8 008 , GPS , OFF and I have file2.txt formatted like this: ... (2 Replies)
Discussion started by: An0mander
2 Replies

9. Shell Programming and Scripting

Search a string in a file which is also present in another file in UNIX

Hi there, I am new to Unix and had below requirement to finish my task. I have file1.dat which has data as shown below. case1.txt case2.txt case3.txt case4.txt file1.dat has only file names I have folder which has above files mentioned in file1.dat ./all_files case1.txt... (6 Replies)
Discussion started by: raj028
6 Replies

10. UNIX for Beginners Questions & Answers

Search a string and display its location on the entire string and make a text file

I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file. Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 Replies
casparize(1)							  USER COMMANDS 						      casparize(1)

  NAME
      casparize - Set up caspar Makefile in a new directory

  SYNOPSIS
      casparize dir (/path/to/config/dir)

      casparize file (/path/to/config/dir/file)

  DESCRIPTION
      casparize  creates  a  new  configuration  working directory in your current working directory, sets up a Makefile for caspar(7) in this new
      directory, and optionally copies an original configuration file from its original system place to the newly  created  configuration  working
      directory.

  USAGE
      You typically use casparize when you already have created the root configuration working directory with its include directory and install.mk
      Caspar include file. By analysing your current working directory and the configuration directory path you give on  the  command  line,  cas-
      parize  can  deduce the contents of the Makefile in the newly created configuration working directory. It creates the new directory, creates
      the correct Makefile, and optionally copies the given configuration file in the new directory, ready for its first version commit.

  EXAMPLES
      A typical example:

	$ cd <svn>/etc
	$ casparize /etc/postfix/main.cf

      creates the directory <svn>/etc/postfix, creates <svn>/etc/postfix/Makefile including the proper content,  and  copies  /etc/postfix/main.cf
      into <svn>/etc/postfix/main.cf. You can now directly add and commit the new directory.

  BUGS
      Non known at this moment.

  AUTHOR
      Jeroen Hoppenbrouwers

  SEE ALSO
      caspar(7) The caspar homepage is at http://mdcc.cx/caspar/ .

  casparize 20120508						      8 mai 2012							casparize(1)
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy