help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Let bash accept an option of something like -v in awk


From: Dan Douglas
Subject: Re: [Help-bash] Let bash accept an option of something like -v in awk
Date: Fri, 27 Mar 2015 13:04:44 -0500

On Fri, Mar 27, 2015 at 9:47 AM, Peng Yu <address@hidden> wrote:
> I need to call `bash -e`

I doubt that.

> with the -exec option of find. When the file contain special characters, it 
> becomes
> problematic to use bash robustly.

Pass data through the positional parameters.

find args -exec bash -c 'for x; do ...; done' _ {} +

-- 
Dan Douglas



reply via email to

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