Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [SUBMIT] _ant completion function
- X-seq: zsh-users 5265
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh users <zsh-users@xxxxxxxxxx>
- Subject: Re: [SUBMIT] _ant completion function
- Date: Sun, 18 Aug 2002 15:09:03 +0000
- In-reply-to: <3D5F7AC5.5080102@xxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <3D5DA795.8CE14D47@xxxxxxxxxxxx> <3D5F7AC5.5080102@xxxxxxxx>
On Aug 18, 3:45am, Byron Foster wrote:
} Subject: Re: [SUBMIT] _ant completion function
}
} > It's nearly 100% pure zsh with the exception that sed is called to strip
} > \r's from the output
}
} target=${target//^M/}
}
} Where ^M is a quoted insert of the single Cariage Return character
target=${target//$'\015'}
where you don't need to quoted insert anything. And yes, the ending slash
is optional when the replacement is empty.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author