Option #1
man -P cat ls > man_ls.txt
Option #2:
man ls | col -b > ls.txt
man -P cat ls > man_ls.txt
man ls | col -b > ls.txt
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace dotNet
{
class Greeting
{
public static int displayGanesh()
{
Console.WriteLine("Ganesh Here !!");
return 0;
}
public static int displayVishnu()
{
Console.WriteLine("Vishnu Here !!");
return 1;
}
}
delegate int delGreetings();
class Program
{
static void Main(string[] args)
{
int choice = 1;
delGreetings[] Greetings =
{
new delGreetings(Greeting.displayGanesh),
new delGreetings(Greeting.displayVishnu)
};
int return_ = Greetings[choice - 1]();
Console.Write("Return Value ");
Console.WriteLine(return_);
return;
}
}
}
delegate int delGreetings();