On Thu, Sep 29, 2011 at 9:04 AM, i...@whywouldwe.com
<i...@whywouldwe.com> wrote:
> When I do `ls -d1 */` on my mac I get
>     dir1/
>     dir2/
>
> but on an Ubuntu server (fish installed
> via apt-get) I get
>     dir1//
>     dir2//
>
> Does anyone know how to fix this? Or
> even where the problem lies?

Could it be because Bash and Fish on Linux are configured to show all
directories with a slash at the end, while your other shell on your
Mac box is not? What happens if you do a simple "ls" on your Mac box?

To avoid the extra slash, if you have a recent version of "GNU ls", you can do:

ls -d1 --indicator-style=none

Regards,
Philip

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to