mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 14:13:45 -05:00
Add new function and improve comments
This commit is contained in:
@@ -8,7 +8,7 @@ _dedupeArray_() {
|
||||
# OUTS:
|
||||
# stdout: Prints de-duped elements
|
||||
# USAGE:
|
||||
# _removeDups_ "${array[@]}"
|
||||
# mapfile -t newarray < <(_dedupeArray_ "${array[@]}")
|
||||
# NOTE:
|
||||
# List order may not stay the same
|
||||
# CREDIT:
|
||||
|
||||
Reference in New Issue
Block a user