Horje
bash array Code Example
how to make a list bash
#to create an array:
$ declare -a my_array
#set number of items with spaceBar seperation:
$ my_array = (item1 item2)
#set specific index item:
$ my_array[0] = item1
bash array
ss="abcdefghi"
my_array=( `echo $ss | grep -o . ` ) # split word into array

echo ${my_array[2]} 
give c

i=0
echo ${my_array[$i]}${my_array[$i+1]}xxx
give : abxxx




Shell

Related
git prune local branches Code Example git prune local branches Code Example
revert to commit git Code Example revert to commit git Code Example
To exclude directory with particluar pattern : Code Example To exclude directory with particluar pattern : Code Example
merge child branch to parent git Code Example merge child branch to parent git Code Example
Run node red in widnows Code Example Run node red in widnows Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9