bug-bash
[Top][All Lists]
Advanced

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

Re: Request change to output of declare -f funcname


From: Alex fxmbsw7 Ratchev
Subject: Re: Request change to output of declare -f funcname
Date: Sat, 2 Oct 2021 17:10:41 +0200

there are many paste boards and preview systems that cripple newlines to
spaces
the dude that posted the issue wrote about that case, \n to ' '

On Sat, Oct 2, 2021, 17:08 Greg Wooledge <greg@wooledge.org> wrote:

> On Sat, Oct 02, 2021 at 04:52:38PM +0200, Alex fxmbsw7 Ratchev wrote:
> > in pasted mails where newlines get converted to spaces
> >
> > On Sat, Oct 2, 2021, 15:21 Greg Wooledge <greg@wooledge.org> wrote:
> >
> > > On Sat, Oct 02, 2021 at 01:41:35PM +0200, Léa Gris wrote:
> > > > $ declare -f hello
> > > >
> > > > hello ()
> > > > {
> > > >     echo 'hello';
> > > >     echo 'world'
> > > > }
> > > >
> > > > The issue is that in some circumstances, newline characters may be
> > > handled
> > > > as space, making the function declaration invalid.
> > >
> > > Can you show an example where the output of declare -f is invalid?
>
> Your personal inability to write an email correctly is irrelevant here.
>
>


reply via email to

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