Comment

Comment by AsthmaBoy

Wouldn't

  readlink -f $0
work to get the actual location of the script, and from there get the base for relative scripts?
parent AsthmaBoy 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton