$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
 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
Learn about the
pikth
program