how to grep the pattern ?
How can I grep or find the pattern from this files in the directory. I have couple of ascii files too.I have to grep the binary files.Please assist me
Thanks
Francis (2 Replies)
-Hi
I have a file with the following entries:
tschkback12
tschkback11
tschkback15
tschkback28
....etc.
I need to grep all the lines out of this file which end with the number (just "tschkback" should be excluded). Can it be done with one line command? Thanks -A (5 Replies)
Hi,
When we have a failure, sometimes we just step restart the job from the next step. Later when we open the log for analysis of the failure, it is becoming difficult to go to the failure part.
For eg., if it is a 1000 line log, the failure may be at 500th line. so wat i want to do is, grep... (6 Replies)
I have to search from millions of lines of code of lines having following pattern:
get_token , get_token
For example:
fn1(string.get_token(), string1.get_token());
Thanks in advance (5 Replies)
Hi,
I have got the below requirement. please suggest.
I have a file like,
Processing Item is:
/data/ing/cfg2/abc.txt
/data/ing/cfg3/bgc.txt
Processing Item is:
/data/cmd/for2/ght.txt
/data/kernal/config.klgt.txt
I want to process the above file to get the output file like,
... (5 Replies)
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
Hi All,
I am trying to fetch lines before a pattern, I got to know about -B flag in grep but we have to pass the number to get those lines before some pattern say (X), now what if I want to get line/s with some other pattern say (Y) before X pattern? How to get about it? please help.
Input:... (5 Replies)
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
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
LEARN ABOUT DEBIAN
grep-excuses
GREP-EXCUSES(1) General Commands Manual GREP-EXCUSES(1)NAME
grep-excuses - search the testing excuses files for a specific maintainer
SYNOPSIS
grep-excuses [options] [maintainer|package]
DESCRIPTION
grep-excuses downloads the update_excuses.html file and greps it for the specified maintainer name. The libwww-perl package is required
for this script. If no name is given on the command line, first the environment variable DEBFULLNAME is used if it is defined, and failing
that, the configuration variable described below is used.
OPTIONS --no-conf, --noconf
Do not read any configuration files. This can only be used as the first option given on the command-line.
--wipnity, -w
Get information from <http://release.debian.org/migration/>. A package name must be given when using this option.
--help Show a brief usage message.
--version
Show version and copyright information.
CONFIGURATION VARIABLES
The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced in that order to set configuration variables. Command line
options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The currently
recognised variable is:
GREP_EXCUSES_MAINTAINER
The default maintainer, email or package to grep for if none is specified on the command line.
SEE ALSO devscripts.conf(5).
AUTHOR
Joey Hess <joeyh@debian.org>; modifications by Julian Gilbey <jdg@debian.org>.
DEBIAN Debian Utilities GREP-EXCUSES(1)