You are not logged in.
My problem: zsh is interpolating ^ somehow to 'Calibre Library' and 'bin', which are subdirectories...
zsh:
$ sudo mkfs.ext4 -O ^has_journal /dev/sdd1
mke2fs 1.46.2 (28-Feb-2021)
mkfs.ext4: invalid blocks 'Calibre Library' on device 'bin'bash:
$ sudo mkfs.ext4 -O ^has_journal /dev/sdd1
mke2fs 1.46.2 (28-Feb-2021)
/dev/sdd1 contains a ext4 file system
created on Sun May 9 12:43:53 2021
Proceed anyway? (y,N) y
Creating filesystem with 58607505 4k blocks and 14655488 inodes
...Any idea how to tell zsh not to interpolate the caret/circumflex character?
Last edited by thorstenhirsch (2021-05-12 17:29:24)
Offline
http://zsh.sourceforge.net/Doc/Release/ … Generation
sudo mkfs.ext4 -O '^has_journal' /dev/sdd1Online
Thanks, Seth!
I also found out that I had activated "extendedglob" in zsh. Without it the caret is not being interpolated/expanded.
Offline
Matter of preference - extendedglob has some benefits, but you'll have to quote few more chars.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
Done.
Offline