You are viewing a single comment's thread. Return to all comments →
xargs echo > tmp.txt filecontent=( cat "tmp.txt") echo ${filecontent[@]:3:5}
cat "tmp.txt"
Seems like cookies are disabled on this browser, please enable them to open this website
Slice an Array
You are viewing a single comment's thread. Return to all comments →
xargs echo > tmp.txt filecontent=(
cat "tmp.txt"
) echo ${filecontent[@]:3:5}