From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: a minor patch to awk invocation Date: Sat, 07 Jun 2014 11:17:45 -0400 Message-ID: <87egz0d9dy.fsf@gmail.com> References: <6157.1401905539@greg-minshalls-mbp.local> <871tv2ezaf.fsf@gmail.com> <874mzxt3gl.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtIbZ-0000qh-M4 for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 11:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtIbV-0007xp-Dp for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 11:32:25 -0400 Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]:46295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtIbV-0007xf-9A for emacs-orgmode@gnu.org; Sat, 07 Jun 2014 11:32:21 -0400 Received: by mail-qg0-f44.google.com with SMTP id i50so6799946qgf.17 for ; Sat, 07 Jun 2014 08:32:20 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Eric Schulte writes: >> Thanks for pointing out this shortcoming and for suggesting the >> command-line variable assignment option. I've just pushed up a patch >> which changes the behavior of awk code blocks to assign variables on the >> command line, so the following now work. > > For whatever reason I now get errors from an awk invocation using > standard input: > > --8<---------------cut here---------------start------------->8--- > tset: standard error: Inappropriate ioctl for device > > /bin/stty: standard input: Inappropriate ioctl for device > /usr/bin/stty: standard input: Inappropriate ioctl for device > --8<---------------cut here---------------end--------------->8--- > > Additionally, C-c C-v C-v doesn't work correctly on many blocks and > gives > > --8<---------------cut here---------------start------------->8--- > org-babel-expand-src-block: Wrong type argument: number-or-marker-p, nil > --8<---------------cut here---------------end--------------->8--- > I can't reproduce these problems. Could you provide examples, and maybe a stack traces? Thanks, > > > Regards, > Achim. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)