If I have something like this:
file=abcdefg.url
echo $file
is there a way I can make it so that when I export using >
I can export it to an html file by substituting the .url
with a null character and appending .html
?
for example:
x=(sed -n 's/URL=//p' $f)
$out=$file.html
//replace .url with a null here
$x>$out
Thanks in advance!