I\'m wondering if it\'s possible (recommended might be the better word) to use sed to convert URLs into HTML hyperlinks in a document. Therefore, it would look for things li
you can use awk
awk '
{
for(i=1;i<=NF;i++){
if ($i ~ /http/){
$i=""$i""
}
}
} 1 ' file
output
$ cat file
blah http://something.com test http://something.org
$ ./shell.sh
blah http://something.com test http://something.org