zsh-users
 help / color / mirror / code / Atom feed
From: Aki Hoji <akhst7@gmail.com>
To: zsh-users@zsh.org
Subject: Sed error
Date: Tue, 2 Aug 2022 20:12:33 -0400	[thread overview]
Message-ID: <39BA2F80-DBD0-4626-A57D-58109078CFD5@gmail.com> (raw)

HI, 

I get the error message (sed: -e expression #1, char 2: invalid usage of line address 0) when I run a following;


parallel -a temp3.fq  -k --block 50M --pipe-part 'sed -e  "$!N;/\nXQ@A00165/!P;D"' > temp4.fq

When I run this one liner in bash, it works just fine but under zsh. Apprently, zsh does not like “!”.   Isn’t  “!” in the script not compatible with zsh and is there any work around for this ? 

I am using my institution’s cluster;

3.10.0-1160.71.1.el7.x86_64
 x86_64 x86_64 x86_64 GNU/Linu

Thanks. 

             reply	other threads:[~2022-08-03  0:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03  0:12 Aki Hoji [this message]
2022-08-03  0:40 ` Bart Schaefer
2022-08-03  0:41   ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39BA2F80-DBD0-4626-A57D-58109078CFD5@gmail.com \
    --to=akhst7@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).