From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: Justifying text output
Date: Sat, 13 Mar 2004 06:24:54 +0000 [thread overview]
Message-ID: <1040313062454.ZM28736@candle.brasslantern.com> (raw)
In-Reply-To: <16tfmamy8a3c9.dlg@thorstenkampe.de>
On Mar 13, 12:24am, Thorsten Kampe wrote:
} Subject: Re: Justifying text output
}
} * Bart Schaefer (2004-03-12 11:55 +0100)
} >
} > echo ${(r:70:):-"${ltgreen}* ${white}compiling $file"}"[ ${ltgreen}ok ${white}]"
}
} I'm sorry but that outputs something like this:
} * [ ok ] compiling [ ok ] [ ok ]
I think you must have gotten some double-quotes or curly-braces in the
wrong place, somehow. Or something.
schaefer[501] file=somerandomstring
schaefer[502] echo ${(r:70:):-"${ltgreen}* ${white}compiling $file"}"[ ${ltgreen}ok ${white}]"
* compiling somerandomstring [ ok ]
schaefer[503]
next prev parent reply other threads:[~2004-03-13 6:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 2:01 Thorsten Kampe
2004-03-12 10:55 ` Bart Schaefer
2004-03-12 23:24 ` Thorsten Kampe
2004-03-13 6:24 ` Bart Schaefer [this message]
2004-03-13 17:48 ` Thorsten Kampe
2004-03-13 18:58 ` Oliver Kiddle
2004-03-12 10:59 ` Peter Stephenson
2004-03-12 22:33 ` Thorsten Kampe
2004-03-13 3:29 ` Thorsten Kampe
2004-03-12 11:28 ` Oliver Kiddle
2004-03-12 22:33 ` Thorsten Kampe
2004-03-12 23:03 ` Pavol Juhas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1040313062454.ZM28736@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).