Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Sed error
- X-seq: zsh-users 27923
- From: Aki Hoji <akhst7@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Sed error
- Date: Tue, 2 Aug 2022 20:12:33 -0400
- Archived-at: <https://zsh.org/users/27923>
- List-id: <zsh-users.zsh.org>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author