help-bash
[Top][All Lists]
Advanced

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

Re: function that prints each argument on a new line


From: Greg Wooledge
Subject: Re: function that prints each argument on a new line
Date: Tue, 6 Jul 2021 07:54:01 -0400

On Tue, Jul 06, 2021 at 01:40:46PM +0200, lisa-asket@perso.be wrote:
> Would like to have a function that prints a number of lines by passing them 
> as arguments. 

f() { printf '%s\n' "$@"; }



reply via email to

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