Advertisement
metalx1000

Nokia N900 Large Font Script

Jan 5th, 2012
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. sqlite3 /home/user/.rtcom-eventlogger/el-v1.db \
  4.    "SELECT service_id,event_type_id,free_text, \
  5.   remote_uid FROM Events order by start_time DESC"|\
  6.    grep ^3|head -n 50|cut -d\| -f3,4|\
  7.    sed 's/|/<\/h1>/g'|\
  8.    while read line
  9.  
  10. do
  11.  
  12.    echo "<h1>$line<hr>"
  13.  
  14. done >/tmp/msg.html;browser --url=/tmp/msg.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement