37 messages in com.perforce.perforce-userRemoving unchanged files from changel...
FromSent OnAttachments
Kend...@scitechsoft.com15 Jun 1999 16:26 
Raju...@commerceone.com15 Jun 1999 16:27 
Raju...@commerceone.com15 Jun 1999 16:34 
Scot...@seaslug.org15 Jun 1999 16:40 
Stev...@Eng.Sun.COM15 Jun 1999 16:43 
Jeff...@nextcard.com15 Jun 1999 16:56 
Kend...@scitechsoft.com15 Jun 1999 17:05 
Kend...@scitechsoft.com15 Jun 1999 17:05 
Stev...@eng.sun.com15 Jun 1999 17:52 
Fred...@mydata.se15 Jun 1999 18:03 
Raym...@orion.no16 Jun 1999 01:47 
Scot...@seaslug.org17 Jun 1999 12:04 
Scot...@seaslug.org17 Jun 1999 12:04 
Greg...@acm.org17 Jun 1999 12:16 
Greg...@acm.org17 Jun 1999 12:16 
Jeff...@nextcard.com17 Jun 1999 12:35 
Jeff...@nextcard.com17 Jun 1999 12:35 
Scot...@seaslug.org17 Jun 1999 12:36 
Scot...@seaslug.org17 Jun 1999 12:36 
Kend...@scitechsoft.com17 Jun 1999 12:46 
Kend...@scitechsoft.com17 Jun 1999 12:46 
Kend...@scitechsoft.com17 Jun 1999 12:46 
Kend...@scitechsoft.com17 Jun 1999 12:46 
Scot...@seaslug.org17 Jun 1999 12:49 
Scot...@seaslug.org17 Jun 1999 12:49 
PatH...@marketguide.com17 Jun 1999 12:50 
PatH...@marketguide.com17 Jun 1999 12:50 
Paul...@sam.engr.sgi.com17 Jun 1999 13:06 
Paul...@sam.engr.sgi.com17 Jun 1999 13:06 
Raju...@commerceone.com17 Jun 1999 13:31 
Raju...@commerceone.com17 Jun 1999 13:31 
Raym...@orion.no18 Jun 1999 01:36 
Raym...@orion.no18 Jun 1999 01:36 
Kend...@scitechsoft.com19 Jun 1999 12:05 
Kend...@scitechsoft.com19 Jun 1999 12:05 
Kend...@scitechsoft.com19 Jun 1999 12:05 
Kend...@scitechsoft.com19 Jun 1999 12:05 
Subject:Removing unchanged files from changelist?
From:Kend...@scitechsoft.com (Kend@scitechsoft.com)
Date:06/17/1999 12:46:14 PM
List:com.perforce.perforce-user

Rajul Vora <rajul.vora at commerceone.com> wrote:

Now is there some way to do something similar to run 'grep' over all changed files, looking for a particular string? Specifically I want to check for hard coded debug interrupts (DebugInt() is our macro for this) in the code before any submissions are made.

Try: p4 diff -sa | xargs grep -l DebugInt

I am doing this on Windows 98.

If you are doing this on NT, try: p4 diff -sa | tr '\\' '/' | grep -l DebugInt

I don't see the 'tr' program anywhere on my system. p4 diff -sa outputs the list of files that have changed to the standard output, but I can't get my grep to recieve the list of files to check from STDIN. Does the -l option for GNU grep do this (my DOS based GREP lists filenames with the -l option).

Regards,

+---------------------------------------------------------------+ | SciTech Software - Building Truly Plug'n'Play Software! | +---------------------------------------------------------------+ | Kendall Bennett | Email: KendallB at scitechsoft.com | | Director of Engineering | Phone: (530) 894 8400 | | SciTech Software, Inc. | Fax : (530) 894 9069 | | 505 Wall Street | ftp : ftp.scitechsoft.com | | Chico, CA 95928, USA | www : http://www.scitechsoft.com | +---------------------------------------------------------------+