$squote()
DESCRIPTION
returns the single quote (') character
SYNOPSIS
$squote()
ARGUMENTS
none
EXAMPLES
# pikt +C 'output $squote() . "and that" . $squote() . "s a quote" . $squote()'
'and that's a quote'
rule // sum | awk '{print $1 " " $2}' | tr '\012' ' '; ls -l
// producing output like:
// 458 105 -rwxr-x--- 1 root other 53424 Jul 18 22:42 /pikt/bin/pikts
if #split($command("=sum $inlin | =awk " . $squote() .
"{print \$1 " . $dquote() . " " . $dquote() .
" \$2}" . $squote() . " | =tr " . $squote() .
"\\012" . $squote() . " \" . $squote() .
" " . $squote() . "; =lld $inlin")) != 11
output log "=piktfileproblems_log" "ERR: \$command() error for $inlin"
next
fi
set $sum = $1
set $blk = $2
set $size = $7
set $mon = $8
set $date = $9
set $time = $10
// set $name = $11
set #changed = #false()
SEE ALSO
$dquote()
$space()
$newline()
$tab()
String Functions
Numerical Functions