fork(1) download
  1. #!/bin/bash
  2. s='dimensions: 2560x1600 pixels (676x423 millimeters)'
  3. echo $s | sed -E 's/.*\(([0-9]+x[0-9]+).*/\1/'
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
676x423