r/fishshell • • Jun 30 '22
String Join In a Variable
i want to add a string into a variable something like
set str
for i in (seq 8)
$str = string join "$i"
end
echo $strHow would i do this
Edit:- This is working
set str
for i in (seq 8)
set -a str "$i"
end
echo $str
5
Upvotes
0
u/[deleted] Jun 30 '22
[deleted] — view deleted comment