Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

DCL Pipe Question

 
Highlighted
Aaron Sakovich
Super Advisor

Re: DCL Pipe Question

Using this command procedure, eachline.com, from dcl.openvms.org:

http://tinyurl.com/2ux77l

You can do this with a single line. I believe the syntax would be:

$ pipe dir/nohead/notrail [filespec] | @eachline file "delete &file"

HTH,
Aaron
P.S. Sorry for having to use TinyURL; this forum prevented me from giving a direct link due to threat of x-site scripting. You might be able to cut-and-paste this, though: dcl.openvms.org/stories.php?story=05/01/21/1424401