From Harmless Partdridge, 2 Months ago, written in Plain Text.
  1. Good day to all. How do I insert a character or string in the print statement
  2.  
  3. $ echo ${SHELL}; ll /home|awk -F ' '  '{print $3,$4,$9}'
  4. /bin/bash
  5. alice yoyodyne alice
  6. bob yoyodyne bob
  7. mallory yoyodyne mallory
  8.  
  9. so that the output becomes
  10.  
  11. alice:yoyodyne alice
  12. bob:yoyodyne bob
  13. mallory:yoyodyne mallory
  14.  
  15. wherein the ':' char is inserted per line. Thanks in advance.
  16.  
captcha