Skip to content

neontorrent/bash-array-remove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

bash-array-remove

Function for removing elements from array in Bash

Usage:

array_remove array_name [element_to_remove] *

Example:

arr=("one 1" "two 2")
array_remove arr "one 1"
declare -p arr
# arr will now only contain "two 2"

About

Function for removing elements from array in Bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages