Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • b39655b
  • /
  • test
  • /
  • clean_test.com
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:7df633fbef1fb274fc1969e6af334ed2763e0149
directory badge Iframe embedding
swh:1:dir:c457fe5222e81f62af66efc4258dea7bf6028038
clean_test.com
$!
$! Delete various test results files.
$!
$ def_orig = f$environment( "default")
$ proc = f$environment( "procedure")
$ proc_dev_dir = f$parse( "A.;", proc) - "A.;"
$!
$ on control_c then goto tidy
$ on error then goto tidy
$!
$ set default 'proc_dev_dir'
$!
$ files := *.cms;*, *.srl;*, *.ss;*, -
   cms.err;*, cms.out;*, newreq.pem;*, -
   p.txt-zlib-cipher;*, -
   smtst.txt;*, testkey.pem;*, testreq.pem;*, -
   test_*.err;*, test_*.out;*, -
   .rnd;*
$!
$ delim = ","
$ i = 0
$ loop:
$    file = f$edit( f$element( i, delim, files), "trim")
$    if (file .eqs. delim) then goto loop_end
$    if (f$search( file) .nes. "") then -
      delete 'p1' 'file'
$    i = i+ 1
$ goto loop
$ loop_end:
$!
$ tidy:
$ 
$ if (f$type( def_orig) .nes. "") then -
   set default 'def_orig'
$!

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top