1753764 Members
3739 Online
108799 Solutions
New Discussion

Re: DCL Pipe Question

 
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