Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #237130

Re: Bash: testing a variable

From Charles Curley <charlescurley@charlescurley.com>
Newsgroups linux.debian.user
Subject Re: Bash: testing a variable
Date 2021-07-09 22:50 +0200
Message-ID <Cz5BE-8aW-5@gated-at.bofh.it> (permalink)
References <Cz4Pg-7FI-7@gated-at.bofh.it> <Cz5ih-84k-1@gated-at.bofh.it>
Organization occasionally

Show all headers | View raw


On Fri, 9 Jul 2021 16:25:11 -0400
Greg Wooledge <greg@wooledge.org> wrote:

> add_path_maybe() {
>   local p i
> ...

Very nice, sir. Thank you.

shellcheck complained about the redirection in the "IFS=: read" line,
but I'm not going to worry about that.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bash: testing a variable Charles Curley <charlescurley@charlescurley.com> - 2021-07-09 22:00 +0200
  Re: Bash: testing a variable Joerg Kampmann <ibk-klima-vortrag@ibk-consult.de> - 2021-07-09 22:20 +0200
    Re: Bash: testing a variable Charles Curley <charlescurley@charlescurley.com> - 2021-07-09 22:50 +0200
  Re: Bash: testing a variable Greg Wooledge <greg@wooledge.org> - 2021-07-09 22:30 +0200
    Re: Bash: testing a variable Kampmann <kampmann@ibk-consult.de> - 2021-07-09 22:40 +0200
    Re: Bash: testing a variable Charles Curley <charlescurley@charlescurley.com> - 2021-07-09 22:50 +0200
      Re: Bash: testing a variable Greg Wooledge <greg@wooledge.org> - 2021-07-09 23:00 +0200
        Re: Bash: testing a variable Charles Curley <charlescurley@charlescurley.com> - 2021-07-10 02:20 +0200
  Re: Bash: testing a variable john doe <johndoe65534@mail.com> - 2021-07-09 23:50 +0200
    Re: Bash: testing a variable Greg Wooledge <greg@wooledge.org> - 2021-07-10 00:10 +0200

csiph-web