Elektrine lite

← Feed

@plantarum@ottawa.place

Post #1101019

2026-04-10 18:36 UTC

Today's #Bash lesson: `basename` doesn't accept `stdin`, so you can't use it in a pipe (without resorting to `xargs`). This doesn't work: ls path/to/*fq.gz | basename But with the `-a` flag, `basename` will accept multiple arguments: basename -a path/to/*fq.gz

Replies (0)

No replies.