Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -0,0 +1,8 @@
|
|||
/*REXX program (Regina) to obtain/display a file's time of modification. */
|
||||
parse arg $ . /*get the fileID from the CL*/
|
||||
if $=='' then do; say "***error*** no filename was specified."; exit 13; end
|
||||
q=stream($, 'C', "QUERY TIMESTAMP") /*get file's mod time info. */
|
||||
if q=='' then q="specified file doesn't exist." /*give an error indication. */
|
||||
say 'For file: ' $ /*display the file ID. */
|
||||
say 'timestamp of last modification: ' q /*display modification time.*/
|
||||
/*stick a fork in it, we're all done. */
|
||||
Loading…
Add table
Add a link
Reference in a new issue