repo.or.cz
/
ion1.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Renamed package to ion1, and made it conflict with package 'ion'.
[ion1.git]
/
scripts
/
ion-view
blob
6a01210bf3bd194eabfecef7738e94ffa238b9fe
1
#!/bin/sh
2
if
echo
"
$1
"
|
grep
-E
'^([a-zA-Z]+://|www.)'
> /
dev
/
null
;
then
3
exec
netscape-remote
"
$1
"
4
else
5
exec
run-mailcap
--action
=
view
"
$1
"
> /
dev
/
null
6
fi
7