Sponsored Content
Full Discussion: recrusive search in GREP
Top Forums UNIX for Dummies Questions & Answers recrusive search in GREP Post 302096491 by arunkumar_mca on Thursday 16th of November 2006 02:14:55 AM
Old 11-16-2006
Thanks blowtorch for clearing my long term doubt.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

grep for a search string

Hi, I want to grep one file for a search string and get the next 10 lines after the search string. for eg,in file tnsnames.ora,i have 100 entries.i want to search for one string and get the entry for that db. please help how to acheive this using awk or sed? Thanks. (11 Replies)
Discussion started by: raga
11 Replies

2. Shell Programming and Scripting

help for search or grep in a file

i have a file like <fruits> <red>redcolor<\red> <banana>yellow color and it is<\banana> </fruits> i want to search for a word in a file data between the tags i mean searching should be done in redcolcor, yellow color and it is (2 Replies)
Discussion started by: pvr_satya
2 Replies

3. Shell Programming and Scripting

search using grep

Hi all, I have a folder with many files. I need to get all the filenames with the value "<f id=audio-time>*:*:*</f>" word. * may be any integer. I used find . -type f -exec grep -H '<f id=audio-time>.:.</f>' {} \; command to get. but i am not able to find the correct values. Any... (2 Replies)
Discussion started by: ananthi_ku
2 Replies

4. Shell Programming and Scripting

Grep Search for both First and last word

Hi Pretty sure this is very simple hence im banging my head o the wall as to why i cant get this to work: Im greping against many files where there will be the following string: Date: Thu, Aug 23 2001 09:27 PM (of course values such as date ,time and PM/AM will vary.) Im trying to grep... (1 Reply)
Discussion started by: duonut
1 Replies

5. Shell Programming and Scripting

grep by limit search

Hi I am in new in unix,can any one tell how to grep the data by limit. suppose I have below data:- is :mSecs is :mSecs is :mSecs is :mSecs requirement is how to grep the data which is having count greater than 1000 msecs only. thanks in adnavce. (2 Replies)
Discussion started by: abhigrkist
2 Replies

6. Shell Programming and Scripting

Grep for search.

hi, i got files delimited by |^ character. eg. apple|^ball|^cat|^dog|^egg i need to find if the above file contains | (pipe ) character inside the data.eg. apple|^ball|^cat|^d|og|^egg. above file contains | character in the dog data. how can i search that. (4 Replies)
Discussion started by: krk
4 Replies

7. Shell Programming and Scripting

Grep string search

Hi All, I'm using aix flavour unix where im trying for the below kind of pattern to search in all the files in a directory. I tried with different possible combinations like grep -ir "out.*\transaction_ctry_code" * etc.... Pattern I'm trying for : out<any thing>country_cd Here i... (0 Replies)
Discussion started by: rmkganesh
0 Replies

8. Shell Programming and Scripting

Optimizing search using grep

I have a huge log file close to 3GB in size. My task is to generate some reporting based on # of times something is being logged. I need to find the number of time StringA , StringB , StringC is being called separately. What I am doing right now is: grep "StringA" server.log | wc -l... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies

9. UNIX for Beginners Questions & Answers

Grep/awk using a begin search pattern and end search pattern

I have this fileA TEST FILE ABC this file contains ABC; TEST FILE DGHT this file contains DGHT; TEST FILE 123 this file contains ABC, this file contains DEF, this file contains XYZ, this file contains KLM ; I want to have a fileZ that has only (begin search pattern for will be... (2 Replies)
Discussion started by: vbabz
2 Replies

10. UNIX for Beginners Questions & Answers

How to use a grep search to search for a specific string within multiple directories?

Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried: grep -lr "this string" * but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies
term(5) 							File Formats Manual							   term(5)

NAME
term - terminal capabilities SYNOPSIS
DESCRIPTION
The following data type is defined through typedef: TERMINAL An opaque representation of the capabilities for a single terminal from the terminfo database. The header provides a declaration for the following object: cur_term . It represents the current terminal record from the terminfo data- base that the application has selected by calling The header contains the variable names listed in the Variable column in the table in Defined Capabilities in terminfo(4). The following are declared as functions, and may also be defined as macros: int del_curterm(TERMINAL *oterm); int putp(char *const str); int restartterm(char *term, int fildes, int *errret); TERMINAL * set_curterm(TERMINAL *nterm); int setupterm(char *term, int fildes, int *errret); int tgetent(char *bp, char *const name); int tgetflag(char id[2]); int tgetnum(char id[2]); char * tgetstr(char id[2], char **area); char * tgoto(char *const cap, int col, int row); int tigetflag(char *capname); int tigetnum(char *capname); char * tigetstr(char *capname); char * tparm(char *cap, long p1, long p2, long p3, long p4, long p5, long p6, long p7, long p8, long p9); int tputs(char *const str, int affcnt, int (*putfunc)(int)); SEE ALSO
terminfo(4), printf(1), putp(3X), tigetflag(3X), tgetent(3X), <curses.h>. CHANGE HISTORY
First released in X/Open Curses, Issue 4. ENHANCED CURSES term(5)
All times are GMT -4. The time now is 01:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy