Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Peng Yu 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: References: <5dac2cf2-2fac-0fd1-058f-6a84a3271738@case.edu> <20181228013623.mersdxbzy64dpldp@crack.deadbeast.net> <20181228015710.tzzbejk36fsgr5wb@crack.deadbeast.net> 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" , bug-bash To: Eduardo Bustamante 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:14990 > 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