-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In order to properly deal with doing an alphabetical sort of lines, set $IFS before parsing the result. Store the result to an array and, after restoring $IFS to it’s previous value, then iterate the already-sorted array. Alsö, quote the path when sourced.
- Loading branch information
1 parent
accfcba
commit d10a278
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters