pastebin
| #1 paste tool since 2002
create new paste
tools
api
archive
real-time
faq
pastebin
Follow @pastebin
create new paste
trending pastes
sign up
login
my settings
my profile
My Pastes
Public Pastes
Untitled
1 sec ago
Untitled
3 sec ago
Untitled
5 sec ago
Are Try Catches still u...
9 sec ago
Jurassic Cock 2 Porn Pr...
9 sec ago
Untitled
11 sec ago
Untitled
11 sec ago
theme 9 (polinomial) cu...
HTML | 22 sec ago
Layout Width
Share Pastebin
Untitled
By: a guest | Mar 20th, 2010 | Syntax:
None
| Size: 0.28 KB | Hits: 92 | Expires: Never
Download
|
Raw
|
Embed
|
Report abuse
#!/bin/bash
for i in `grep V1 /usr/local/src/sc/contrib/sasc-ng/sc_files/ecm.cache |awk -F":" '{print $2}'|sort|uniq`;
do
c=`mysql mythconverg -r -s --execute "select name from channel where chanid=$i"`;
h=`printf "%x" $i`
echo "[$h] $i => $c";
done
create new paste
|
create new version of this paste
RAW Paste Data
#!/bin/bash for i in `grep V1 /usr/local/src/sc/contrib/sasc-ng/sc_files/ecm.cache |awk -F":" '{print $2}'|sort|uniq`; do c=`mysql mythconverg -r -s --execute "select name from channel where chanid=$i"`; h=`printf "%x" $i` echo "[$h] $i => $c"; done