how to open all links in a file and ignore comments using firefox?

so the file contains data like

# entertainment
youtube.com
twitch.tv

# research
google.com
wikipedia.com
...

and I would like to pass that file as an argument in a script that would open all lines if they doesn't start with an #. Any clues on how to ?

so far what i have:

for Line in $Lines
do
case "# " in $Line start firefox $Line;; esac
done

some code that could be useful (?):

while read line; do chmod 755 "$line"; done < file.txt


from Recent Questions - Stack Overflow https://ift.tt/3wHULIW
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation