Not J701 specific or particularly nice,
where eol.ijs is
#!/usr/bin/jb
3 : 0''
for_f. }.ARGV do.
if. LF~:{:t=. 1!:1 f do.
stdout LF,>f
(t,LF) 1!:2 f
end.
end.
)
exit 0
(in retrospect, 1!:3 should be used instead of 1!:2)
I am also interested to know how windows batch file can contain j script.
Чтв, 29 Сен 2011, John Baker писал(а):
> I am in the process of converting a slew of windows batch scripts that
> employ jconsole.exe to linux bash scripts.
>
> It would be a big help to look at some examples. If anyone out in J/linux
> land has some nice script examples they are willing to share please post.
>
> One good example > reams of documentation.
>
> --
> John D. Baker
> [email protected]
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm