fork(2) download
  1. #!/bin/bash
  2. url='https''://github.com/Project/name-app.git'
  3. url=$(awk -F/ '{sub(/\..*/,"",$NF); print $NF}' <<< "$url")
  4. echo "$url"
Success #stdin #stdout 0.01s 5548KB
stdin
Standard input is empty
stdout
name-app