fork download
  1. #!/bin/bash
  2. echo "/Users/henrique/Projects/ignite/components/main" | sed -r 's/^(\/\w+){5}\/(\w+)$/\2/'
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
main