#Note - the sort by index would convert an empty filesizes list to a list of empty strings - one for each entry in files
#We want to preserve the empty list if that's what the dirlisting mechanism returned (presumably because -with_sizes was 0 or explicitly excluded files)
set allchildren [nschildren $ch] ; #sorted, only returns 1 level deeper
set allchildren [nschildren -sort none $ch] ; #only returns 1 level deeper. leave sorting til after filtering
}
#nscommands returns exactly one line per entry + a trailing newline. If there is an empty line other than at the end - that is because there is a command named as the empty string.
#Note - the sort by index would convert an empty filesizes list to a list of empty strings - one for each entry in files
#We want to preserve the empty list if that's what the dirlisting mechanism returned (presumably because -with_sizes was 0 or explicitly excluded files)
set allchildren [nschildren $ch] ; #sorted, only returns 1 level deeper
set allchildren [nschildren -sort none $ch] ; #only returns 1 level deeper. leave sorting til after filtering
}
#nscommands returns exactly one line per entry + a trailing newline. If there is an empty line other than at the end - that is because there is a command named as the empty string.
#Note - the sort by index would convert an empty filesizes list to a list of empty strings - one for each entry in files
#We want to preserve the empty list if that's what the dirlisting mechanism returned (presumably because -with_sizes was 0 or explicitly excluded files)
set allchildren [nschildren $ch] ; #sorted, only returns 1 level deeper
set allchildren [nschildren -sort none $ch] ; #only returns 1 level deeper. leave sorting til after filtering
}
#nscommands returns exactly one line per entry + a trailing newline. If there is an empty line other than at the end - that is because there is a command named as the empty string.
#Note - the sort by index would convert an empty filesizes list to a list of empty strings - one for each entry in files
#We want to preserve the empty list if that's what the dirlisting mechanism returned (presumably because -with_sizes was 0 or explicitly excluded files)
set allchildren [nschildren $ch] ; #sorted, only returns 1 level deeper
set allchildren [nschildren -sort none $ch] ; #only returns 1 level deeper. leave sorting til after filtering
}
#nscommands returns exactly one line per entry + a trailing newline. If there is an empty line other than at the end - that is because there is a command named as the empty string.
#Note - the sort by index would convert an empty filesizes list to a list of empty strings - one for each entry in files
#We want to preserve the empty list if that's what the dirlisting mechanism returned (presumably because -with_sizes was 0 or explicitly excluded files)
set allchildren [nschildren $ch] ; #sorted, only returns 1 level deeper
set allchildren [nschildren -sort none $ch] ; #only returns 1 level deeper. leave sorting til after filtering
}
#nscommands returns exactly one line per entry + a trailing newline. If there is an empty line other than at the end - that is because there is a command named as the empty string.