fork(5) download
  1. #!/bin/bash
  2. url='http''s://github.com/Project/name-app.git'
  3. url="${url##*/}" # Remove all up to and including last /
  4. url="${url%.*}" # Remove up to the . (including) from the right
  5. echo "$url"
Success #stdin #stdout 0.01s 5480KB
stdin
Standard input is empty
stdout
name-app