Ledger Nano X - The secure hardware wallet
SHARE
TWEET

printf demo

a guest Oct 19th, 2012 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bash-4.2$ echo 'Station Name
  2. Station Code
  3. A N %s DEV NAGAR
  4. ACND
  5. ABHAIPUR
  6. AHA
  7. ABOHAR
  8. ABS
  9. ABU ROAD
  10. ABR' | awk 'NR%2==1 {printf $0","} NR%2==0 { print $0}'
  11. Station Name,Station Code
  12. awk: cmd. line:1: (FILENAME=- FNR=3) fatal: not enough arguments to satisfy format string
  13.         `A N %s DEV NAGAR,'
  14.              ^ ran out for this one
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top