pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS

Difference between
modified post 2740bc0 by Anonymous on Mon 12th Feb 2024 06:57
original post 98a17a0d by Anonymous on Fri 9th Feb 2024 09:51
Download diff
Show old version | new version | both versions

    
11
# testcases
2-
ksh93 -c 'builtin mv ; rm -f /tmp/x y ; touch /tmp/x ; mv /tmp/x y ; echo $?'
2+
ksh93 -c 'builtin mv ; rm -f /tmp/x y ; touch /tmp/x ; mv /tmp/x y && print OK ; true'
3-
ksh93 -c 'builtin mv ; rm -f /tmp/x y ; touch /tmp/x ; cp -p /tmp/x y ; echo $?'
3+
ksh93 -c 'builtin mv ; rm -f /tmp/x y ; touch /tmp/x ; cp -p /tmp/x y && print OK ; true'
4-
ksh93 -c 'builtin cp ; rm -f /tmp/x y ; touch /tmp/x ; cp -p /tmp/x y ; echo $?'
4+
ksh93 -c 'builtin cp ; rm -f /tmp/x y ; touch /tmp/x ; cp -p /tmp/x y && print OK ; true'
5-
ksh93 -c 'builtin cp ; rm -f x y ; touch x ; cp -p /tmp/x y ; echo $?'
5+
ksh93 -c 'builtin cp ; rm -f x y ; touch x ; cp -p /tmp/x y && print OK ; true'
6-
ksh93 -c 'builtin cp ; rm -f x y ; touch x ; cp -p x y ; echo $?'
6+
ksh93 -c 'builtin cp ; rm -f x y ; touch x ; cp -p x y && print OK ; true'
7-
ksh93 -c 'builtin cp ; rm -f x y ; touch x ; /usr/bin/cp -p x y ; echo $?'
7+
ksh93 -c 'builtin cp ; rm -f x y ; touch x ; /usr/bin/cp -p x y && print OK ; true'
8-
$ ksh93 -c 'builtin id ; rm -f x ; touch x ; chown "$(id -u -n):$(id -g -n)" x && print OK'
8+
ksh93 -c 'builtin id ; rm -f x ; touch x ; chown "$(id -u -n):$(id -g -n)" x && print OK'
109

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at