public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Mohammad A. Haque" <mhaque@haque.net>
To: Rick Hohensee <humbubba@smarty.smart.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: dropcopyright script
Date: Wed, 14 Feb 2001 08:23:57 -0500	[thread overview]
Message-ID: <3A8A86ED.F8397F69@haque.net> (raw)
In-Reply-To: <200102140647.BAA24740@smarty.smart.net>

What prompted this? People are going to want copyright notices in a
prominent place. Namely at the beginning of the code along with whatever
instructions and cruft.

Rick Hohensee wrote:
> 
> .......................................................................
> ## drop copyright notices to the bottoms of C files in current dir and
> #     subs.
> # /*
> #  CopYriGHt Guess Who          2001            All reserves righted.
> # */
> 
> grep -ilr "copyright" . > tempdropcopyrights
> 
> for f in `cat tempdropcopyrights`
> do
> ed $f <<HEREDOC
> /[Cc][oO][pP][yY][rR][iI]/
> ?\/\*?
> .,/\*\//m$
> wq
> HEREDOC
> done
> ........................................................................
> 

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================

  parent reply	other threads:[~2001-02-14 13:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14  6:47 dropcopyright script Rick Hohensee
2001-02-14  7:55 ` Russell King
2001-02-14  7:59   ` Jeff Garzik
2001-02-14 12:31     ` Richard Gooch
2001-02-14 12:32       ` Jeff Garzik
2001-02-14  8:09   ` Matthew Dharm
2001-02-14 12:34 ` Wichert Akkerman
2001-02-14 15:44   ` Jes Sorensen
2001-02-14 13:23 ` Mohammad A. Haque [this message]
2001-02-14 14:33   ` Reason (was: Re: dropcopyright script) Mordechai Ovits
2001-02-14 14:34     ` Yoann Vandoorselaere
2001-02-14 14:44       ` Mordechai Ovits
2001-02-14 18:36         ` Jamie Lokier
2001-02-14 15:00     ` Mohammad A. Haque
2001-02-14 15:03       ` Mordechai Ovits
2001-02-14 17:52       ` Gregory Maxwell
2001-02-14 18:09         ` Mordechai Ovits
2001-02-14 19:37 ` dropcopyright script Brett Person

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A8A86ED.F8397F69@haque.net \
    --to=mhaque@haque.net \
    --cc=humbubba@smarty.smart.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox