repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add proper error handling for all final exec calls
[hband-tools.git]
/
user-tools
/
lsenv
blob
6c6da20f5204d14d1853fac17840ee71a5bc2a41
1
#!/bin/bash
2
3
cat
/
proc
/
${1:-$$}
/
environ |
tr
"\0"
"
\n
"
|
sort
4
5
6
true
<<EOF
7
8
=pod
9
10
=head1 NAME
11
12
lsenv - List environment variables of a process
13
14
=head1 SYNOPSIS
15
16
lsenv <B<pid>>
17
18
=cut
19
20
EOF