fork download
  1. #!/usr/bin/env bash
  2.  
  3. var=$(cat <<"EOF"
  4. Warning message:
  5. * checking for file ‘./DESCRIPTION’ ... OK
  6. * preparing ‘analysis’:
  7. * checking DESCRIPTION meta-information ... OK
  8. * cleaning src
  9. * checking for LF line-endings in source and make files and shell scripts
  10. * checking for empty or unneeded directories
  11. Removed empty directory ‘analysis/.idea/inspectionProfiles’
  12. Removed empty directory ‘analysis/.idea/snapshots’
  13. * creating default NAMESPACE file
  14. * building ‘analysis_0.1.tar.gz’
  15. EOF
  16. )
  17.  
  18. from_line=${var##* building ‘}
  19. pkgname=${from_line%%’*}
  20.  
  21. echo "$pkgname"
Success #stdin #stdout 0s 19640KB
stdin
Standard input is empty
stdout
analysis_0.1.tar.gz