[Ilugc] .a-tip-a-day (patch - apply diffs and act as inverse of diff)

  • From: mbhangui@xxxxxxxxx (Manvendra Bhangui)
  • Date: Wed Sep 30 14:23:42 2009

On Wed, Sep 30, 2009 at 2:16 PM, Kenneth Gonsalves
<lawgon@xxxxxxxxxxxxxxx>wrote:

On Wednesday 30 Sep 2009 2:12:18 pm Manvendra Bhangui wrote:
You can take the following 'C' program as an example. Write the same in
perl and enjoy the gunk that comes out.

int
main(int argc, char **argv, char **envp)
{
__write(1, "hello world\n", 12);
}

what does this program do?

Just print the line "hello world" to file descriptor 1

 (which happens to be your terminal in case you execute in a shell).

Other related posts: