replace

  1. S

    ZFS zpool, replace two device with one

    I have real zpool with files, but want to test firstly. I created simple zpool with files: # zpool status -v pool: ztst state: ONLINE scan: resilvered 19.5K in 0h0m with 0 errors on Thu Mar 14 14:44:20 2019 config: NAME STATE READ WRITE CKSUM ztst...
  2. aragats

    Solved sed: negation of a range is broken?

    I would expect the same output of the following two commands, but the first one looks wrong to me: % echo abc^ABC.123 | sed 's/[^A-z0-9]/_/g' abc^ABC_123 % echo abc^ABC.123 | sed 's/[^[:alnum:]]/_/g' abc_ABC_123By the way, gsed does the same. Am I missing something?..
Top