Re: Force "ls" to show .exe extension

2015-01-08 Thread Paul
Andrey Repin yandex.ru> writes: >> I don't like using the back ticks myself because of its atrocious >> readability, but I'm not religious about it. > > Then don't use them. Use "$( )" instead. Aside readability issues, > it also solve nesting and quoting problems. So much better...thanks, Andre

Re: Force "ls" to show .exe extension

2015-01-08 Thread Andrey Repin
Greetings, Paul! > I don't like using the back ticks myself because of its atrocious > readability, but I'm not religious about it. Then don't use them. Use "$( )" instead. Aside readability issues, it also solve nesting and quoting problems. -- WBR, Andrey Repin (anrdae...@yandex.ru) 08.01.201

Re: Force "ls" to show .exe extension

2015-01-08 Thread Paul
Bob McGowan symantec.com> writes: | Back to Paul's problem, getting a list of the actual filenames, as | they actually exist in the filesystem, can be handled by 'find', I | think. At least it worked in my simple test setup, above. | | $ find . -name abc | ./abc | $ find . -name 'abc*' | ./abc |

Re: Force "ls" to show .exe extension

2015-01-07 Thread Bob McGowan
On 1/7/15, 8:07 AM, "Paul" wrote: >Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: >>Paul sent the following at Tuesday, January 06, 2015 7:12 PM >>> I'm wading through many files in two file trees. In particular, I'm >>> looking at corresponding directories in the two trees where "diff

Re: Force "ls" to show .exe extension

2015-01-07 Thread Paul
Buchbinder, Barry (NIH/NIAID) [E] niaid.nih.gov> writes: >Paul sent the following at Tuesday, January 06, 2015 7:12 PM >> I'm wading through many files in two file trees. In particular, I'm >> looking at corresponding directories in the two trees where "diff >> -qr" revealed differences. I want th

Re: Force "ls" to show .exe extension

2015-01-07 Thread Paul
Andrey Repin yandex.ru> writes: >> I'm wading through many files in two file trees. In particular, >> I'm looking at corresponding directories in the two trees where >> "diff -qr" revealed differences. I want the absolute truth of what >> the filename is with minimal distrations about how to ach

RE: Force "ls" to show .exe extension

2015-01-07 Thread cyg Simple
> From: Tom Robinson > > If you don't want to specify the extension, can you specify as asterisk? > > [3236 CBGSAS04:~/Documents]$ touch name.exe > > [3237 CBGSAS04:~/Documents]$ ls -l name > -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name > > [3238 CBGSAS04:~/Documents]$ ls -l name.exe

RE: Force "ls" to show .exe extension

2015-01-06 Thread Buchbinder, Barry (NIH/NIAID) [E]
Paul sent the following at Tuesday, January 06, 2015 7:12 PM >I'm wading through many files in two file trees. In particular, I'm >looking at corresponding directories in the two trees where "diff -qr" >revealed differences. I want the absolute truth of what the filename is >with minimal distractio

Re: Force "ls" to show .exe extension

2015-01-06 Thread Andrey Repin
Greetings, Paul! >>> ...if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" >>> shows pdfcrop rather than pdfcrop.exe. Is there any way to force >>> ls to show the full filename (including extension) if it matched >>> the ls argument, even if the ls argument doesn't specify the >>> extens

Re: Force "ls" to show .exe extension

2015-01-06 Thread Paul
Andrey Repin yandex.ru> writes: >> ...if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" >> shows pdfcrop rather than pdfcrop.exe. Is there any way to force >> ls to show the full filename (including extension) if it matched >> the ls argument, even if the ls argument doesn't specify the

Re: Force "ls" to show .exe extension

2015-01-06 Thread Andrey Repin
Greetings, Paul! > Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" > shows pdfcrop rather than pdfcrop.exe. Is there any way to force ls > to show the full filename (including extension) if it matched the ls > argument, even if the ls argument doesn't specify the extension?

Re: Force "ls" to show .exe extension

2015-01-06 Thread Eric Blake
On 01/06/2015 02:28 PM, Paul wrote: > Paul 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

Re: Force "ls" to show .exe extension

2015-01-06 Thread Paul
Paul 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

Re: Force "ls" to show .exe extension

2015-01-06 Thread Paul
Tom Robinson gmail.com> writes: >If you don't want to specify the extension, can you specify as >asterisk? > >[3236 CBGSAS04:~/Documents]$ touch name.exe > >[3237 CBGSAS04:~/Documents]$ ls -l name >-rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name > >[3238 CBGSAS04:~/Documents]$ ls -l name.ex

Re: Force "ls" to show .exe extension

2015-01-06 Thread Yaakov Selkowitz
On 2015-01-06 13:34, Paul wrote: Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" shows pdfcrop rather than pdfcrop.exe. Is there any way to force ls to show the full filename (including extension) if it matched the ls argument, even if the ls argument doesn't specify the e

Re: Force "ls" to show .exe extension

2015-01-06 Thread Tom Robinson
If you don't want to specify the extension, can you specify as asterisk? [3236 CBGSAS04:~/Documents]$ touch name.exe [3237 CBGSAS04:~/Documents]$ ls -l name -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan 7 09:34 name [3238 CBGSAS04:~/Documents]$ ls -l name.exe -rw-r--r--+ 1 cbg.tom Domain Users 0 Jan

Force "ls" to show .exe extension

2015-01-06 Thread Paul
Right now, if I have ~/bin/pdfcrop.exe, the command "ls ~/bin/pdfcrop" shows pdfcrop rather than pdfcrop.exe. Is there any way to force ls to show the full filename (including extension) if it matched the ls argument, even if the ls argument doesn't specify the extension? I read http://cygwin.com