File: D0737.bashrc1

package info (click to toggle)
ble.sh 0.4.0~git20250321.d4c812b-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,516 kB
  • sloc: sh: 71,367; awk: 1,316; cpp: 750; ansic: 186; javascript: 43; makefile: 35
file content (21 lines) | stat: -rw-r--r-- 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# bashrc1 -*- mode: sh-mode; mode: sh-bash; -*-

function TRAPRETURN {
  echo return
  declare -p BASH_SOURCE BASH_LINENO FUNCNAME LINENO >> /dev/tty
}
function TRAPDEBUG1 {
  declare -p BASH_SOURCE BASH_LINENO FUNCNAME LINENO >> /dev/tty
}
function initialize {
  trap -- TRAPDEBUG1 DEBUG
  trap -- TRAPRETURN RETURN
}
initialize
echo hello
declare -p BASH_SOURCE BASH_LINENO FUNCNAME LINENO
echo world
echo hello; echo hello; declare -p BASH_SOURCE BASH_LINENO FUNCNAME LINENO
#
#
#