[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #4916] [PATCH] xargs -J (FreeBSD compatibility)

From: Robert Millan
Subject: [patch #4916] [PATCH] xargs -J (FreeBSD compatibility)
Date: Fri, 17 Feb 2006 11:34:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Debian package 1.0.7-1)


                 Summary: [PATCH] xargs -J (FreeBSD compatibility)
                 Project: findutils
            Submitted by: robertmh
            Submitted on: Fri 02/17/06 at 11:34
                Category: xargs enhancement
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: None
           Fixed Release: None



Please could you add -J as an alias for -I ?  This is for compatibility with

2006-02-17  Robert Millan  <address@hidden>

        * xargs/xargs.c: Accept -J as an alias for -I, but do not document
        since this is just a FreeBSD compatibility extension.

diff -ur findutils-4.2.27.old/xargs/xargs.c findutils-4.2.27/xargs/xargs.c
--- findutils-4.2.27.old/xargs/xargs.c  2005-12-04 03:51:36.000000000 +0100
+++ findutils-4.2.27/xargs/xargs.c      2006-02-17 11:28:27.000000000 +0100
@@ -508,6 +508,7 @@
          return 0;

        case 'I':               /* POSIX */
+       case 'J':               /* FreeBSD compat */
        case 'i':               /* deprecated */
          if (optarg)
            bc_ctl.replace_pat = optarg;


Carbon-Copy List:

CC Address                          | Comment
andreasmetzler<address@hidden> | 


File Attachments:

Date: Fri 02/17/06 at 11:34  Name: xargs_J.diff  Size: 572B   By: robertmh



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]