Re: [PATCH] sparse-checkout: improve OS ls compatibility

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

 



On 12/18/2019 9:45 PM, Eric Wong wrote:
> This goes on top of your patch:
...
> +	( cd "$1" && for i in *; do echo "$i"; done )

Could we drop the "cd" and "echo" processes with this line instead?

	for i in "$1"/*; do printf "$i\n"; done

Thanks,
-Stolee



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux