add proper error handling for all final exec calls
[hband-tools.git] / user-tools / lsenv
blob6c6da20f5204d14d1853fac17840ee71a5bc2a41
1 #!/bin/bash
3 cat /proc/${1:-$$}/environ | tr "\0" "\n" | sort
6 true <<EOF
8 =pod
10 =head1 NAME
12 lsenv - List environment variables of a process
14 =head1 SYNOPSIS
16 lsenv <B<pid>>
18 =cut
20 EOF