1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-23 20:52:28 +00:00
dotfiles/scripts/.bin/copybib

5 lines
166 B
Plaintext
Raw Normal View History

#!/bin/sh
cat ~/Exported\ Items.bib | sed -n 's/@.*{\(.*\),/\\cite{\1}/p' | xclip -selection clipboard
sleep 1
cat ~/Exported\ Items.bib | xclip -selection clipboard