Re: java one-liner



Stefan Ram wrote:
bugbear <bugbear@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
Well, one *could* create a script to invoke the compiler
and runtime components sequentially, to give the effect
you request, but I see little benefit.

One benefit would be the possibility to use Java package
in command lines, such as Perl is used in, say,

cat cljp | perl -pe 's/\n\nFrom/\nFrom /mg' | grep ...

Yes - I understand the "idea" but question wether
Java can (in practice) express anything very useful
in one line.

BugBear
.



Relevant Pages

  • Re: java one-liner
    ... you request, ... in command lines, such as Perl is used in, say, ... Java is not the right tool for one liners. ...
    (comp.lang.java.programmer)
  • Re: java one-liner
    ... On 25-03-2010 09:47, bugbear wrote: ... you request, ... in command lines, such as Perl is used in, say, ...
    (comp.lang.java.programmer)
  • [PATCH] ide-cd: fix some codestyle and most of the checkpatch.pl issues
    ... Generic packet command support and error handling routines. ... -/* Returns 0 if the request should be continued. ... HANDLER is the routine ...
    (Linux-Kernel)
  • [PATCH 32/32] ide-tape: cleanup the remaining codestyle issues
    ... * After each failed packet command we issue a request sense command and retry ... * The following parameter is used to select the point in the internal tape fifo ... int merge_stage_sz; ...
    (Linux-Kernel)
  • Re: Wait for background processes to complete
    ... To be able to execute commands in the background and wait for their ... The documentation I am referring to is http://perldoc.perl.org/. ... You can run a command in the background with: ... There is a general problem with perl documentation: ...
    (comp.lang.perl.misc)