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


Groups > gnu.bash.bug > #14990

Re: Should [[ -v 1 ]] be supported?

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Peng Yu <pengyu.ut@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Should [[ -v 1 ]] be supported?
Date Fri, 28 Dec 2018 07:34:35 -0600
Lines 13
Approved bug-bash@gnu.org
Message-ID <mailman.6465.1546004758.1284.bug-bash@gnu.org> (permalink)
References <CABrM6wmrn2gi8_HgmRg67B5nsgGNFRn8Bn-r20MvC-_2LJHZ0g@mail.gmail.com> <5dac2cf2-2fac-0fd1-058f-6a84a3271738@case.edu> <abd86dbc-f6e2-62bd-e9dc-f959e2dbff9f@inlv.org> <CABrM6wkGwVbPdrXTetVsFCiwDPg5JnK4KRh49WqACsKhrrMMdA@mail.gmail.com> <20181228013623.mersdxbzy64dpldp@crack.deadbeast.net> <CABrM6w=2zrjmV24VAgzioAu2iNcyuf3tsi--cfvkCH6MJ7feRA@mail.gmail.com> <20181228015710.tzzbejk36fsgr5wb@crack.deadbeast.net> <CABrM6wkfvTzY5UBMDz_kNr=imV_KpSsFF6o8fV5RLrKMYrPKgg@mail.gmail.com> <CAOSMAut1wQTvKhT4ECsC1tbPFTP_NfH8VrgO2OrOeGqAYr+L6g@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1546004759 4058 208.118.235.17 (28 Dec 2018 13:45:59 GMT)
X-Complaints-To action@cs.stanford.edu
Cc "G. Branden Robinson" <g.branden.robinson@gmail.com>, bug-bash <bug-bash@gnu.org>
To Eduardo Bustamante <dualbus@gmail.com>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4V58t4i/4Dcc3ZwBlMFQ57T3v6kqjuU5TZCe8pf42Hg=; b=pvE987apmEWUhVvR0GqqnlK9LJs9MsM5wwHWz7R+MQDT5AHIC6su70Vul5WSyk8LID yYg7XCOowqgH18B+4o2Qln9Nr+MR8nXvJJG2U8LV6uuoyJLe9zvx9Sm+3fP/O3yeO+Ek kJ0l5YkaQpj+SZEyDQzHLsNo7WfVccePQi35DBy2pCwU9q2HlpEpq609KhO6tRsJTTwE 6sEp3q9OGohg6/QD9SjErYmpQxq2h7ZTaL7uwY7T2N9MZgIVDwPZdRNPgmI2cKaaTfPM 2oJv8sx+nDOvUhK7nrHu5N75bRsUk9eiIucKgi2RXUVy9gFkpiaF1qncWG9O/RUXmu4Q JDDQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4V58t4i/4Dcc3ZwBlMFQ57T3v6kqjuU5TZCe8pf42Hg=; b=U9aN038GvcwoJTT1NZYy65RcQokzCPZESftAOwgPHUB1sEHCNvk5E3zN6c+CL97GZy l07ILfZmsxYv5t8DorA9FZputlodKmYrl5IghNXp8b8klOW1xA4HvM/GrcInpxCDvnuI RhYEEJMBh16iEngGwANSNV8Yz9y/1J+hg20XD6AJA6dqvoVckEhAN50Nr9uaixfdkyz1 gn0b/umf+J/c/Z7h0njTUKOnbowk6aUYNbb5UlencXPAdl49Fm0xW4ef4K11LCu/76U3 vi9YOg73tWXeL9GT6jw/CDCIgYQ8ytR8V/PKbWEbNz7LAESWPRRgiSDFrnZtuxy6AXWh PE2Q==
X-Gm-Message-State AA+aEWabcnO/7igzSSlDAl/c2UMcht51WWfZ6LhEnCQSOz6Zl4jxtzLV F5DGQGMyF/vactG0423IxzZmxZQpfw+nyemylIk=
X-Google-Smtp-Source AFSGD/UpD0pa+5KMQzCOe614cPm4oqo1JUuId39OmZNqEYsaEVSMRb8M6leIEXyTi3CCAp2IM+BEDrpn6twzcDxGuu8=
X-Received by 2002:a24:8e43:: with SMTP id h64mr16593049ite.26.1546004087622; Fri, 28 Dec 2018 05:34:47 -0800 (PST)
In-Reply-To <CAOSMAut1wQTvKhT4ECsC1tbPFTP_NfH8VrgO2OrOeGqAYr+L6g@mail.gmail.com>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4864:20::12d
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14990

Show key headers only | View raw


> A profiler is exactly what you need here. You should profile your
> script and understand the stuff that actually matters for your goals.
> Otherwise you're just chasing unimportant things.

Again, my goal is not to profile a specific bash script. The goal is
to see what features make bash only fit into a shell language but
cannot make into other domains that other languages (e.g. python) are
popular at.

-- 
Regards,
Peng

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Should [[ -v 1 ]] be supported? Peng Yu <pengyu.ut@gmail.com> - 2018-12-28 07:34 -0600

csiph-web