fork(5) download
  1. #!/bin/bash
  2.  
  3. for s in abcdefghijklmnop _test_ 123abc A_b1C_23 _! magical\ pony1; do
  4. echo -n "$s" | perl -pe '$_=!/\W|^\d//2**/^_/'
  5. echo
  6. done
Success #stdin #stdout 0s 5992KB
stdin
Standard input is empty
stdout
1
0.5
0
1
0
0