This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Force "ls" to show .exe extension
- From: Paul <Paul dot Domaskis at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 6 Jan 2015 21:28:55 +0000 (UTC)
- Subject: Re: Force "ls" to show .exe extension
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20150106T203355-631 at post dot gmane dot org> <54AC48DE dot 6000806 at cygwin dot com> <loom dot 20150106T221646-526 at post dot gmane dot org>
Paul <Paul.Domaskis <at> gmail.com> writes:
> Both solutions are great. I'll set the --append-exe in my bash
> aliases, and for systems outside of my normal working environment
> (e.g., working with someone on their unix sessions), I know I can
> force display of .exe using asterisk.
Drat. If I pipe files to 'xargs ls', the unaliased ls command is used:
type -pa pdfcrop | xargs ls
I can always append asterisks to each pdfcrop path using sed, or even
explicitly type --append-exe [:(] .
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple