wcls [options]
wcls is a front-end for what is effectively a ls/wc pipeline. The wc command performs the actual line counting. The ls command provides file lists and some selection and sorting functionality. Without any options, wcls will alphabetize its list of files, since that is how ls presents the files.
Several file-selection options are pass-throughs from wcls to ls. These allow selection capabilities provided by ls to be available to wcls. These options are -c, -f, -t, -u, and -U. Any precedence or overrides among these options are determined by ls.
The ls command has two file-sorting options whose functionality is provided directly by wcls. The functionality is implemented in wcls, but it matches (in character) the functionality of the ls options. These are the -S and -r options.
Copyright 2015-2018 Wayne Morrison
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.