help-bash
[Top][All Lists]
Advanced

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

Re: i cant see whats the issue, .. ps1 + propt command + date


From: Alex fxmbsw7 Ratchev
Subject: Re: i cant see whats the issue, .. ps1 + propt command + date
Date: Thu, 23 Sep 2021 15:35:13 +0200

btw setting an assignment only alias makes the code work, not any newlines
( about the '(' error )

On Thu, Sep 23, 2021, 15:17 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:

> ill test tho
> in my logic the newlines shouldnt matter
>
> On Thu, Sep 23, 2021, 14:41 Greg Wooledge <greg@wooledge.org> wrote:
>
>> On Thu, Sep 23, 2021 at 02:35:25PM +0200, Alex fxmbsw7 Ratchev wrote:
>> > the type of the two aliases follows, excepts there shouldnt be an ending
>> > newline, but else look maybe u find there something
>> >
>> > saveIFS is aliased to `__savedIFS=$( 2>&- declare -p IFS )
>> > '
>> > restoreIFS is aliased to `eval "${__savedIFS:-unset -v IFS}"
>> > '
>>
>> So the newlines are being introduced by *alias expansions*?  You have
>> literal newlines in your aliases, and somehow they're being used to
>> turn the non-working code into working code?
>>
>> Sorry, nope.  I'm not touching this.  This is insanity.
>>
>>


reply via email to

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