Vidir: Difference between revisions

m
syntax highlighting fixup automation
(Added Wren)
m (syntax highlighting fixup automation)
Line 42:
 
=={{header|Furor}}==
<syntaxhighlight lang="furor">
<lang Furor>
###sysinclude dir.uh
###define SEPARATOR 9
Line 115:
{ „neworiginalname” }
 
</syntaxhighlight>
</lang>
 
=={{header|Phix}}==
Should work on Windows and Linux. I have commented out all the actually destructive statements.
<langsyntaxhighlight Phixlang="phix">-- demo/rosetta/vidir.exw
string directory = ".",
editor = iff(platform()=WINDOWS?"notepad":"gedit"),
Line 183:
end for
?"done"
{} = wait_key()</langsyntaxhighlight>
 
=={{header|Raku}}==
Line 220:
Notice that all of the above operations will fail to apply if you lack sufficient permissions for the affected files or directories.
 
<syntaxhighlight lang="raku" perl6line>use Sort::Naturally;
use File::Temp;
 
Line 345:
}
}
}</langsyntaxhighlight>
 
=={{header|Wren}}==
Line 359:
 
This has been written to work on Linux but should work on other platforms with minor changes.
<langsyntaxhighlight lang="ecmascript">import "os" for Process
import "io" for Directory, File
import "./fmt" for Fmt
Line 458:
}
}
if (verbose) System.print("All changes have now been processed.")</langsyntaxhighlight>
 
{{out}}
10,327

edits