Home > computers > linux > bash > BashArrays > basharraydd | About
Home > Computers > programming > scripting > bash > BashArrays > basharraydd | About

First method : use +=(new elements)

	for file in ${files[*]}
	do
	    EXTRAFILES+=($CURRENTFOLDER/$file)
	done

Second method

    for file in ${files[*]}
    do
	EXTRAFILES=( ${EXTRAFILES[@]} $file)
    done

contact : @ychaouche yacinechaouche at yahoocom


QR Code
QR Code basharrayadd (generated for current page)