help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fastest way to copy a bash array to a file


From: Budi
Subject: fastest way to copy a bash array to a file
Date: Thu, 13 Jul 2023 10:14:31 +0700

How fastest, simplest way to copy or write a bash array values to a file e.g.

m=( foo bar baz )

printf '%s\n' "${m[@]}" >test


Is there/what'd be faster way by use of binary utility instead of redirection ?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]