박상길
Sang-Kil Park

Home > Articles

The art of writing Linux utilities


The art of writing Linux utilities - Developing small, useful command-line tools

What makes a good utility ?

Here are some design goals of utilities; each gets its own section, below.

  • Do one thing well

  • Be a filter

  • Generalize

  • Be robust

  • Be new


Linux 의 가장 큰 매력은 GNU 에 의해 만들어진 다양한 utilities 입니다. 그래서 혹자는 단순히 Linux 라 부르기를 거부하고 GNU/Linux 라고 항상 같이 언급해달라곤 하지요

대부분의 Linux utilities 는 C 로 만들어지지만 여기에서는 Perl 과 sh 을 이용하여 간단하게 만드는 예제를 보여줍니다.

http://www-106.ibm.com/developerworks/library/l-util.html

C 로 만드는 예제를 보고싶다면 The Unix Programming Environment예제코드를 참조하세요

from IBM developerWorks (http://www.ibm.com/developerworks/)


트랙백

코멘트


이글에 대한 트랙백과 코멘트는 더이상 지원하지 않습니다.

| 다음 글