summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/editor/editor.sh
blob: e8ae65e8e76ffbd8989ef037df2c4b211e98e610 (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
cat p | hackvr $USER \
  | stdbuf -oL tr -s ' ' \
  | grep --line-buffered "^[^ ][^ ]* action " \
  | stdbuf -oL cut '-d ' -f3 \
  | xargs -L1 printf "epoch control %s\n" > p