Skip to content

Instantly share code, notes, and snippets.

handle SIGUSR1 nostop noprint pass
set print pretty on
define pvec
print *$arg0@vl($arg0)
end
document pvec
pvec - display all elements of vector. Takes vector as argument
*** WARNING - SEGV likely if you put in the wrong thing
end