shithub: shithub

Download patch

ref: 84f77d5a1673c5e2579c4d63d4062957753d91f0
parent: d40987598fe486071961c8cafd69826229821b9d
author: Jacob Moody <moody@posixcafe.org>
date: Mon May 8 10:15:38 EDT 2023

list: do not have ls quote filenames

We take care of this issue by having the newline split, the quotes
just cause basename to give strange results.

--- a/list
+++ b/list
@@ -18,7 +18,7 @@
 	echo $intro
 
 udir=()
-for(repo in `$nl{ls */}){
+for(repo in `$nl{ls -Q */}){
 	ndir=`{basename -d $repo}
 	if(! ~ $udir $ndir)
 		echo '</dl>'