File: example.v2

package info (click to toggle)
shellia 5.7.6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 728 kB
  • sloc: sh: 7,087; makefile: 34
file content (23 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# vim: set filetype=sh :
#        file: example.v2
#   copyright: Bernd Schumacher <bernd.schumacher@hpe.com> (2007-2022)
#     license: GNU General Public License, version 3
# description: check pressing of v to show \${variable}
#              check spaces in variables
#    see also: test.v2
. ./ia

tst1()
{
  echo "tst1: #=<$#> 1=<$1> 2=<$2> 3=<$3>"
}


t="a \"b b\""

#eval "tst1 $t"

eval "$ia_init"
ia_add "eval \"tst1 $<t>\""
ia