65.9K
CodeProject is changing. Read more.
Home

Shell.NET

starIconstarIconstarIcon
emptyStarIcon
starIcon
emptyStarIcon

3.67/5 (6 votes)

Jul 28, 2003

2 min read

viewsIcon

68116

downloadIcon

7746

A set of Unix-like console applications written using the .NET Framework

Introduction

Shell.NET is a set of console applications written in C#. It features some classical Unix applications like basename, cal, grep, tr, uniq, wc, but also some very unique tools like RunScript or TextTransform, a awk-like text processing application accepting scripts written in any of the languages supported by the installed .NET Framework.

Starting with version 1.10, Shell.NET includes the WShell application, a form-based application that allows executing from within a Windows form most of the console applications but using a friendly user interface:

Sample Image - shell_net.gif

Applications

As of today Shell.NET is made of more than 30 applications:

  Application Description
  Basename Strip filename affixes
  Cal Print calendar
  Decho Echo arguments
  Factor Factor a number
  Grep Search for a text pattern in files
  Head Display top lines of files
  ImageBuilder Build an image from a pattern and a text string
  Pwd Print working directory
  Reverse Reverse lines of a file
  RunScript Compile and execute .NET scripts
  SameFiles Determine whether 2 files are the same
  SortLines Sort or merge files
  Tail Display last lines of files
  Tee Pipe fitting
  TextMerge Cut and merge text files
  TextReplace Replace text patterns
  TextTabs Expand or compress tabs
  TextTransform Text files manipulation
  Touch Update file timestamp
  Translate Translate characters
  Uniq Report repeated lines
  Where Search for files
  Which Find which version of a program is active
  WordCount Count characters, words, and lines
  WShell A Windows form interface for most of the Shell.NET utilities like Grep, TextTabs, TextReplace, ...
  XmlQuery Extraction data from xml files.
  XmlRichDocument Build rich xml document file from an assembly
  XmlTransform Xml files manipulation
  XmlValidate Validate xml files against a dtd, xdr, or xsd schema file.

Documentation

The whole text of the documentation of Shell.NET is embedded within the source code of the Shell.NET applications using the standard .NET rules for commenting. The .chm documentation itself was then generated using NDoc.