From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25681 invoked by alias); 12 Sep 2014 18:10:33 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19073 Received: (qmail 17748 invoked from network); 12 Sep 2014 18:10:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Fri, 12 Sep 2014 20:10:19 +0200 From: Roman Neuhauser To: Dominik Vogt Cc: zsh-users@zsh.org Subject: Re: Determining the length of "long"? Message-ID: <20140912181019.GZ4075@isis.sigpipe.cz> References: <20140911213608.GA1029@gmx.de> <20140912161724.GY4075@isis.sigpipe.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) # dominik.vogt@gmx.de / 2014-09-12 19:04:44 +0200: > > see getconf(1)[0] and unistd.h(0P)[1], specifically > > _POSIX_V6_ILP32_OFF32 and its brethren. > > Ah great, that pointed exactly to what I need. glad to be of help! i would have brought these up earlier but you said > inside a zsh script (without using external programs, of course). which seemed to disqualify getconf(1)... the clarification was also very subtle: :) > the shell is absolutely the right tool here (combine several unix > command line programs in a pipe, filter their output and generate > a wm command from that) overall a good reminder of the need for precise problem statements. :) -- roman