Sponsored Content
Top Forums Shell Programming and Scripting Using Grep Include/Exclude Files Post 302568619 by metallica1973 on Thursday 27th of October 2011 08:42:07 PM
Old 10-27-2011
Many thanks for the reply:

it did work. I made an adjustment in my exclude.mydir. i was blocking my test directory.

Regards

Last edited by metallica1973; 10-27-2011 at 10:06 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to exclude the GREP command from GREP

I am doing "ps -f" to see my process. but I get lines that one of it represents the ps command itself. I want to grep it out using -v flag, but than I get another process that belongs to the GREP itself : I would like to exclude # ps -f UID PID PPID C STIME TTY TIME CMD... (2 Replies)
Discussion started by: yamsin789
2 Replies

2. UNIX for Advanced & Expert Users

grep source code and exclude comments

I often find myself grepping source code for a variable name and many times the name would be present in comment lines that I 'd prefer not to see. Do you guys know any tricks to filter out comments? Example: snippet of the source code /*** * type comment 1 ***/ void ... (7 Replies)
Discussion started by: migurus
7 Replies

3. Shell Programming and Scripting

grep a string with include next 100 line

Hi, I have a log file which has number of lines from that i have to grep a string like this 03:22:19,287 while greping this string i have to grep next lines to the maximum of finding the word (MORE...) the stack is like this ************* 22/11/2011 03:22:19,287 232290646 ERROR... (2 Replies)
Discussion started by: thelakbe
2 Replies

4. Shell Programming and Scripting

Grep for a srting & exclude two folders

Hi, Below is the command to grep for a string under grep -r "redeem" /home/tom Need to make it case insensitive and exclude logs & tmp folders under /home/tom directory in my Search. Need this in Linux. (1 Reply)
Discussion started by: mohtashims
1 Replies

5. Shell Programming and Scripting

Exclude dash in grep

Hi, I must be overlooking something, but I don't understand why this doesn't work. I'm trying to grep on a date, excluding all the lines starting with a dash: testfile: #2013-12-31 2013-12-31code: grep '^2013-12-31' testfileI'm expecting to see just the second line '2013-12-31' but I don't... (3 Replies)
Discussion started by: Subbeh
3 Replies

6. Red Hat

SFTP user include/exclude without preventing SSH login

I have been asked to see if we can restrict SFTP access to authorised users only. There will be business users who will log on with SSH, but they are locked into a menu. They will have write access to the production data to do their job, but we don't want them to have access to read/write the... (8 Replies)
Discussion started by: rbatte1
8 Replies

7. UNIX for Dummies Questions & Answers

Is there a good way to grep multiple directories without --include?

Hello. I consider myself a journeyman Unix user. I can handle most day to day tasks and have created some fairly complicated command queries, but this problem has defeated me so far. Any help would be greatly appreciated! We keep an archive in the file system with a directory structure in... (5 Replies)
Discussion started by: pauliesyllabic
5 Replies

8. Shell Programming and Scripting

Include information in certain columns using grep and awk

HI all, I have data in a file that looks like this: 1 HOW _ NNP NNP _ 3 nn _ _ 2 DRUGS _ NNP NNP _ 3 nn _ _ 3 ACT _ NNP NNP _ 0 null _ _ 4 : _ ... (3 Replies)
Discussion started by: owwow14
3 Replies

9. Shell Programming and Scripting

Rsync exclude & include?

hi I have a few folders and a few files , for example Directory A B C D E Files 1 2 3 4 5 I want B directory and "2" File that does not sync But other directories and file sync What is the solution ? Is there a way to sync time is under one minute? os centos 6.8 thanks... (5 Replies)
Discussion started by: mnnn
5 Replies

10. Shell Programming and Scripting

Exclude multiple lines using grep

Hi, I'm working on a shell script that reports service status on a database server. There are some services that are in disabled status that the script should ignore and only check the services that are in Enabled status. I output the service configuration to a file and use that information to... (5 Replies)
Discussion started by: senthil3d
5 Replies
Gtk2::Adjustment(3)					User Contributed Perl Documentation				       Gtk2::Adjustment(3)

NAME
Gtk2::Adjustment HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Adjustment METHODS
object = Gtk2::Adjustment->new ($value, $lower, $upper, $step_increment, $page_increment, $page_size) o $value (double) o $lower (double) o $upper (double) o $step_increment (double) o $page_increment (double) o $page_size (double) $adjustment->changed $adjustment->clamp_page ($lower, $upper) o $lower (double) o $upper (double) double = $adjustment->value double = $adjustment->value ($newval) double = $adjustment->lower double = $adjustment->lower ($newval) double = $adjustment->upper double = $adjustment->upper ($newval) double = $adjustment->step_increment double = $adjustment->step_increment ($newval) double = $adjustment->page_increment double = $adjustment->page_increment ($newval) double = $adjustment->page_size double = $adjustment->page_size ($newval) o $newval (double) Get or set the six fields of a Gtk2::Adjustment. The setter functions store $newval and return the old value. Note that they don't emit any signals; it's up to you to emit "notify" (because the fields are also properties) and "changed" or "value-changed", when you're ready. $adjustment->value_changed double = $adjustment->get_value $adjustment->set_value ($value) o $value (double) PROPERTIES
'lower' (double : readable / writable / private) The minimum value of the adjustment 'page-increment' (double : readable / writable / private) The page increment of the adjustment 'page-size' (double : readable / writable / private) The page size of the adjustment 'step-increment' (double : readable / writable / private) The step increment of the adjustment 'upper' (double : readable / writable / private) The maximum value of the adjustment 'value' (double : readable / writable / private) The value of the adjustment SIGNALS
changed (Gtk2::Adjustment) value-changed (Gtk2::Adjustment) SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::Adjustment(3)
All times are GMT -4. The time now is 08:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy