Z Shell (
zsh) builtin. Prints arguments, similar toecho. See also:echo,printf,zsh. More information: https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html.
print "Hello" "World"
print -l "Line1" "Line 2" "Line3"
print -n "Hello"; print "World"
print -e "Line 1\nLine2"
printf (for greater portability across shells, consider using the printf command instead):print -f "%s is %d years old.\n" "Alice" 30