Skip to content

Instantly share code, notes, and snippets.

@innyso
Last active April 18, 2020 02:20
Show Gist options
  • Save innyso/bc0a410e146034fb16ee1bd34f4526a5 to your computer and use it in GitHub Desktop.
Save innyso/bc0a410e146034fb16ee1bd34f4526a5 to your computer and use it in GitHub Desktop.
#linux #cmd #paste

Learnt something new this week

I have two files where I want to concat the two column together to create a readme table

$ cat fruit
apple
pineapple
orange
lemon

$ cat count
1
16
49
18

$ paste -d "|" fruit count
apple|1
pineapple|16
orange|49
lemon|18

Oh I heart linux command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment