Score:0

How to pass line number for hyperlink for file on bash script?

cn flag
echo -e  '\e]8;;file:///home/'$HOSTNAME'/proj/algorithm\aThis is a hyperlink\e]8;;\a'

I want to create bash file which prints a link for file on terminal. When clicked file would be opened with cursor on the given line number. For example: on 50th line.

  1. How can I pass line number for this?

  2. Can I tell any editor for opening this file? For example: vscode

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.