tmux-send.sh 155 B

1234567
  1. #!/bin/bash
  2. lockfile-create $1
  3. while IFS='$\n' read -r line; do
  4. # do whatever with line
  5. tmux send-keys -t $1 "$line" "C-m"
  6. done
  7. lockfile-remove $1