Advertisement
niravkdesai

username

Dec 18th, 2013
1,511
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env bash
  2.  
  3. echo "Please Enter First Name"
  4. read fname
  5.  
  6. echo "Please Enter Last Name"
  7. read lname
  8.  
  9. echo "Please Enter birthdate in ddmmyyyy"
  10. read bdate
  11.  
  12. echo "${fname}${lname}"
  13. echo "${fname}.${lname}"
  14. echo "${lname}${fname}"
  15. echo "${lname}.${fname}"
  16. echo "${fname:0:1}${lname}"
  17. echo "${lname:0:1}${fname}"
  18. echo "${fname:0:1}.${lname}"
  19. echo "${lname:0:1}.${fname}"
  20. echo "${fname}${lname}${bdate:0:2}"
  21. echo "${fname}${lname}${bdate:0:4}"
  22. echo "${fname}${lname}${bdate:4:7}"
  23. echo "${fname}.${lname}${bdate:0:2}"
  24. echo "${fname}.${lname}${bdate:0:4}"
  25. echo "${fname}.${lname}${bdate:4:7}"
  26. echo "${lname}${fname}${bdate:0:2}"
  27. echo "${lname}${fname}${bdate:0:4}"
  28. echo "${lname}${fname}${bdate:4:7}"
  29. echo "${lname}.${fname}${bdate:0:2}"
  30. echo "${lname}.${fname}${bdate:0:4}"
  31. echo "${lname}.${fname}${bdate:4:7}"
  32. echo "${fname}.${lname}${bdate:6:7}"
  33. echo "${lname}.${fname}${bdate:6:7}"
Advertisement
RAW Paste Data Copied
Advertisement