HDTenEightyP/NetNews huggingface dataset:
From: cxk6819@hertz.njit.edu (K. Chandrakanth)
Newsgroups: comp.unix.questions
Subject: problem with vi..
Date: 17 Aug 92 15:51:21 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.
Originator: cxk6819@hertz.njit.edu

Dear netters,
	 I have a sparc workstation 2.
I mounted the floppy drive and copied few files from the floppy. But
when I viewed through vi I happened to see ^M at the end of each line.
When I cat the file it looks normal. Will some one tell me the reason
for this. If possible please send me a shell script or small c program
to remove this. I am enclosing a sample of the file.

	But when I compile the file it works fine. The control characters
are really irritating. So help me.

struct employee {^M
    e_type typer;^M
    employee *next;^M
    char name[20];^M
    short department;^M
};^M
^M
struct manager:employee {^M
        employee* group;^M
        short level;^M
};^M
void print_emp(employee *);^M
void f(employee *);^M
void print_emp(employee *e)^M
{^M

Please email to me. Thanks in advance...

cxk6819@hertz.njit.edu

-- 
god's theorem:
		those who sow in tears will reap in joy.
Newsgroups: comp.unix.questions
From: pjh@mccc.edu (Pete Holsberg)
Subject: Re: Associative arrays in [gn]awk --whynot! (long but interesting)
Organization: The College On The Other Side Of Route One
Date: Fri, 14 Aug 1992 17:39:52 GMT

In article <1992Aug13.063348.11691@news.acns.nwu.edu> navarra@casbah.acns.nwu.edu (John Navarra) writes:
=Well, after my previous posting on [gn]awk associative arrays I decided
=to spend a little time investigating them. Here is what I came  up with. 

=======================
=Here is a program that makes an associative array between the first and
=fifth fields of a /etc/passwd-like file.
=
=awk '
=BEGIN { FS=":"}
=
={
=#make asscociative array from first and fifth fields
=fullname[$1]=$5
=}
=END {
=   for ( username in fullname) 
=           printf("%-10s %s \n", username,  fullname[username]);
=}' short.passwd 
=
=awk:	results with just 15 numbers (from above)
=1root      Operator		13 
=11pib      Philip Burns		2
=5usenet    Mr. Usenet  		14
=7accman    Account Manager      3 
=14dave     Dave Wenger		15 
=6server    Mr. Listserv		4 
=13len      Leonard Evens	5 
=12jln      John Norstad		6 
=3games     Mr. Games		7 
=4ftp       Mr. ftp		8 
=10mccoy    James McCoy		9 
=9matt      Matthew Larson	10 
=8nims      Christopher Nims	11 
=2news      Mr. News		12
=15navarra  John Navarra 	1
=
=nawk:
=12jln      John Norstad		2 
=7accman    Account Manager	3 
=4ftp       Mr. ftp		4 
=10mccoy    James McCoy		5 
=14dave     Dave Wenger		6 
=11pib      Philip Burns		7 
=5usenet    Mr. Usenet		8 
=2news      Mr. News		9 
=6server    Mr. Listserv		10 
=1root      Operator		11 
=8nims      Christopher Nims	12 
=3games     Mr. Games		13 
=15navarra  John Navarra		14 
=9matt      Matthew Larson	15 
=13len      Leonard Evens	1 
=
=gawk:
=10mccoy    James McCoy		1 
=6server    Mr. Listserv		2 
=5usenet    Mr. Usenet		3 
=15navarra  John Navarra		4 
=4ftp       Mr. ftp		5 
=12jln      John Norstad		6 
=9matt      Matthew Larson	7 
=11pib      Philip Burns		8 
=13len      Leonard Evens	9 
=14dave     Dave Wenger		10 
=3games     Mr. Games		11 
=8nims      Christopher Nims	12 
=2news      Mr. News		13 
=7accman    Account Manager	14 
=1root      Operator		15 
=	
=	This is truly weird.

Where did the values in the third field of the output come from? What's
weird about the first two columns? It seems to me that they match
insofar as the index and the value go.

=Basically, associative arrays in gn[awk] are 
=unreliable (especially for a multi-field file).

Unreliable? In what way?

=Gawk seems to be the
=best at printing out arrays in the order which they were loaded in but
=it does not do it correctly in all cases. 

Order in "for (index in array)" is not specified by awk. If you need
order, pipe the output to "sort".
From: biorn@phc.chalmers.se (Bjorn Sandell)
Newsgroups: comp.unix.questions
Subject: Re: Changing file names
Date: 20 Aug 92 08:41:29 GMT
Organization: Dep. of Phys. Chem.   Univ. of Gothenburg   Sweden

In article <ac#n06l.bosak@netcom.com>, bosak@netcom.com (Jon Bosak) writes:
|> 
|> Here's a problem that must be very common but doesn't seem to get
|> discussed in books for Unix novices.
|> 
|> Suppose I have a directory containing files named, for example,
|> 
|>       xyz920815a
|>       xyz920815b
|>       xyz920816
|> 
|> ...and so on.  I want to change the names of these files to
|> 
|>       920815a
|>       920815b
|>       920816
|> 
|> Who can provide the most elegant solution using just the basic Unix 
|> tools (cp, mv, sed, awk, sh, csh)?


Why not use ksh? 

 for file in xyz* ; do
   mv $file ${file#xyz}
 done


   Bjorn
From: CHUCK@bkmain.poly-east-london.ac.uk (Chuck Foster)
Newsgroups: comp.unix.questions
Subject: Punctuation in Aliases
Date: 14 Aug 92 19:35:24 GMT

Does anyone know if there is an easy way to strip punctuation from user
aliases in a sendmail, if indeed that is possible. I would like to able to
treat C.Foster and CFOSTER the same, for example, without requiring duplicate
aliases for all permutations.

Thanks in advance.

     Chuck Foster
Newsgroups: comp.unix.questions
From: adams@pdv2.fmr.maschinenbau.th-darmstadt.de (Adams)
Subject: Re: FTP source available?
Date: Wed, 19 Aug 1992 23:53:12 GMT
Organization: TH-Darmstadt

In article <DNukPB1w164w@cybernet.cse.fau.edu> wayned.bbs@cybernet.cse.fau.edu writes:

>   I recently bought Coherent and FTP isn't included.  Does anybody know 
>   where I can get the source for FTP so I can port it?

BSD-Net2 distribution, or BSD386, from you next ftp/mail/list-server,
but you should alread TCP/IP supported by your kernel. Sockets would
simplify port tremendously ;->

You might try to port KA9Q, which does not need Internet support inside
kernel.

best, adams
Newsgroups: comp.unix.questions
From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
Subject: Re: Changing file names
Organization: Motorola Codex, Canton, Massachusetts
Date: Thu, 20 Aug 1992 15:14:27 GMT

jf41+@andrew.cmu.edu (Jonathan R. Ferro) writes:

>bosak@netcom.com (Jon Bosak) writes:
>> [ file name conversion: xyz920815a ==> 920815a ]
>>
>> Who can provide the most elegant solution using just the basic Unix
>> tools (cp, mv, sed, awk, sh, csh)?

>Put this in your bin directory under the name 'rename':
>----------
>#!/usr/local/bin/perl

...

>and use the command:

>% rename 's/^xyz//' xyz*

A similar solution:

  ls xyz* | sed 's/xyz\(.*\)/mv & \1/' | sh

which is more to type, but doesn't require that you have anything fancier than
ls, sed, sh and mv.

Michael.
From: rolf@saans.north.de (Rolf Nerstheimer)
Newsgroups: comp.unix.questions
Subject: Re: UUCP and Windows Sizes
Date: 15 Aug 92 16:20:19 GMT
Article-I.D.: saans.1992Aug15.162019.708
Organization: a private node

kgermann@zeos.com (Ken Germann) writes:


>There are instructions in the man pages for changing the 
>packet sizes for SCO' uucico. If I follow the instructions
>exactly as stated, I get a symbol not found error. Anyone
>have any Ideas? I would like to stay with the current
>version of UUCP shipped with SCO.

... version ?  WHICH version ???

Please supply a little bit more information about your environment, if you
expect somebody to help you !

-- 
Rolf Nerstheimer, Surwisch 20, 2856 Sandstedt, Germany   | a private 
E-Mail: rolf@saans.north.de    Voice: +49 4702 1285      |   node           
"Contrariwise," continued Tweedledee, "if it was so, it might be; and if it
were so, it would be; but as it isn't, it ain't. That's logic." Lewis Carroll
Newsgroups: comp.unix.questions
From: jns@ace.nas.nasa.gov (John N. Stewart)
Subject: Re: How do I tell if a file is open for writing?
Organization: NAS, NASA Ames Research Center, Moffett Field, CA
Date: Fri, 21 Aug 92 16:34:21 GMT

In article <1992Aug21.000621.22271@news.eng.convex.com> tchrist@convex.COM (Tom Christiansen) writes:
>From the keyboard of jns@ace.nas.nasa.gov (John N. Stewart):
>:I would use the time of last access on a stat command, if you are
>:trying to do this in CSH you've got some problems. DO IT IN PERL!
>:
>:My $0.02 worth -- and since it is as difficult as Tom C. says, and he
>:is a Perly guy, I hope he agrees :)
>
>Um, I'm not sure kernel dives are best done in Perl.  I've done it (Oh, 
>yes: I admit it -- I've done just about everything in Perl :-), but it
>wasn't particular fast, fun, or fulfilling.  Nlisting the kernel is not
>quick in any event.  I'd get Bernstein's tool and use that rather than
>recreating the wheel, although I'd likely embedded it perhaps in a sh
>script, perhaps in a Perl program.


Ok, I was misunderstood. Nlisting the kernel is too slow for most people, 
instead what I was suggesting was that that stat command can give last mod
time and that would simplify matters a certain amount. Given a certain time
delay, if that has expired, then the last write has completed etc. Doing in
that in Perl is simple since the stat command is available.

Of course, if kernel stats are what is really necessary, then ... I would
suggest creating a lock file.

--
John Stewart (Ace)
CSS/DSS
NASA Ames Research Center
(415) 604-4345
From: mregan@astro.umd.edu (Michael Regan)
Newsgroups: comp.unix.questions
Subject: Tuning SUN OS IO buffer Sizes
Date: 18 Aug 92 21:58:04 GMT
Organization: U. of Maryland @ College Park, Astronomy

I have a qestion about tuning the Kernal in a SUN OS 4.1.2 system. The
problem we are seeing is that the amount of real memory being used for caching
IO seems to grow without limit until all other process are swapped out. From
my reading I belive that in SUN OS 4.0 and in V.4 there is a kernal parameter
BUFHWM that limits the amount of memory that can be used for IO buffers.
  The problem is I can not find any reference to BUFHWM in any SUN documention
nor can I even find a reference to the buffer-cache which is the old way of
doing it. Am I totally wrong and SUN OS 4.0 does not use BUFHWM or is it
just not set in our kernal?
  Does anyone know for sure which method SUN OS 4.0 uses to cache IO?
      Thanks,
From: agc@bmdhh298.bnr.ca (Alan Carter)
Newsgroups: comp.unix.questions
Subject: Re: grep for number of character string
Date: 19 Aug 92 13:43:10 GMT
Organization: BNR-Europe-Limited, Maidenhead, England

In article <1992Aug18.140346.3939@nlm.nih.gov>, berman@nlm.nih.gov (Lew Berman) writes:
|> How can I determine if a value is a string or an integer within a 
|> bourne shell script?  For example, if a file exists such that
|> each line may contain a number (integer) or a string (which can
|> be alpha-numeric) how do I determine which it is?  That is to say,
|> if I cat the file into an argument and then run this data through a
|> for loop how do I test each element?
|> 
|> Example data file:
|> 
|> 345
|> 5467
|> 234
|> 2
|> 3
|> 456
|> 730
|> aabbccdd
|> sffeetr$%^
|> 4566KKLKLK		<- not a number
|> lij56			<- not a number

Sorry, can't send e-mail. The bit you want to fill in your script is:

	#! /bin/sh
	data=`cat $1`

	for i in $data
	do
		if echo $i | grep -v "[^0-9]" > /dev/null
		then
			echo "$i is a number"
		fi
	done

Slightly odd logic; if it does not contain any characters that are 
not numeric, then it must be a number. Word of warning though: that 
'data=`cat $1`' trick could burst the shell variable buffer. 
Better to say:

	#! /bin/sh

	cat $1 | while read i
	do
		if test ! -z "$i"
		then
			if echo $i | grep -v "[^0-9]" > /dev/null
			then
				echo "$i is a number"
			fi
		fi
	done

and use a pipe. Note the extra check  'if test... fi'. This is needed 
to get the same behaviour, as your original script automagically 
removed blank lines. The pipe flavour doesn't, and they don't contain 
any characters that are not numeric :-)

Or best yet, fire up 1 awk instead of many greps and tests, let it chew 
the file and give the output to you for further processing:


	#! /bin/sh

	awk '/^[0-9]+$/' $1 | while read i
	do
				echo "$i is a number"
	done

   Regards, Alan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Maidenhead itself is too snobby to be pleasant. It is the haunt of the
   river swell and his overdressed female companion. It is the town of showy
   hotels, patronized chiefly by dudes and ballet girls. 

   Three Men In A Boat, Jerome K. Jerome, 1889
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: exujoel@exu.ericsson.se (Joel Oguete,exu-xtr,x0405)
Newsgroups: comp.unix.questions
Subject: xbtoa
Keywords: btoa xbtoa binary ascii
Date: 20 Aug 92 21:34:01 GMT
Reply-To: exujoel@exu.ericsson.se
Organization: Ericsson Network Systems, Inc.


I received some files on a UNIX system SUN IPC OS 4.1.2 that have the following
words as a header:

xbtoa Begin


What program do I use to convert these file? Where can I get the program and
how do I get it without having it in that xbtoa format? I have FTP via E-Mail
through garbo (garbo.uwasa.fi) and dec (ftpmail@decwrl.dec.com)


Thanks.

Joel Oguete
Ericsson Network Systems Inc.
Richardson, TX
From: igb@fulcrum.bt.co.uk (Ian G Batten)
Newsgroups: comp.unix.questions
Subject: Re: dump/rdump in single-user
Date: 21 Aug 92 12:50:22 GMT
Organization: Fulcrum Communications

>>>>> On 21 Aug 92 08:33:52 GMT, C.R.Ritson@newcastle.ac.uk (C.R. Ritson) said:

C.R.>  There are cirtain pathological conditions that can cause more
C.R.>  seriously unusable dump tapes, in rare circumstances. The "quiescent
C.R.>  system" bit is important. See the following articles:-

I do my dumps using Sun's Online:Disksuite --- add an extra mirror to
the filesystem, detach it, fsck the now detached system and then dump
it.  I believe that these tapes should be pretty solid.

ian
From: montnaro@ausable.crd.ge.com (Skip Montanaro)
Newsgroups: comp.unix.questions
Subject: why are malloc and calloc interfaces different?
Date: 17 Aug 92 17:22:42 GMT
Reply-To: montanaro@crd.ge.com (Skip Montanaro)
Followup-To: poster
Organization: GE Corporate Research & Development, Schenectady, NY


Is there some reason (perhaps just historical) why malloc() and calloc()
accept different argument lists? Just curious.

--
Skip (montanaro@crd.ge.com)
Newsgroups: comp.unix.questions
From: iwsbarke@acs.ucalgary.ca (I W Scott Barker)
Subject: importance of tset
Date: Fri, 14 Aug 92 19:17:57 GMT
Organization: The University of Calgary, Alberta, Canada
X-Newsreader: Tin 1.1 PL5

What is the importance of having the command:

eval `tset -s`     or just     tset

in your .cshrc? It does not seem to have any noticable effect. The man pages
for tset say that it should be used, but I fail to understand why. Can someone
please explain it to me?

--
Scott Barker
barker@enel.ucalgary.ca

"If winning is not important, then commander, why keep score?"
   - Worf, Star Trek: The Next Generation
Newsgroups: comp.unix.questions
From: fitzgb@mml0.meche.rpi.edu (Brian Fitzgerald)
Subject: Re: here document in a shell script
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Wed, 12 Aug 1992 12:47:15 GMT

I write:
>
>ed - test3 <<!
>g/^/s/ffffcu/xxxxcu/
>g/^/s/8881112222/8881119999/
>w testx
>q
>!

By the way, sed can be used:

sed 's/ffffcu/xxxxcu/g
s/8881112222/8881119999/' test3 > testx

or sed -f sf test3 > testx

where sf is

s/ffffcu/xxxxcu/g
s/8881112222/8881119999/

Brian
Newsgroups: comp.unix.questions
From: tparker@music.scd.ucar.edu (Tom Parker)
Subject: Re: csh foreach question
Keywords: csh,foreach
Organization: Scientific Computing Divison/NCAR Boulder, CO
Date: Fri, 14 Aug 1992 14:54:53 GMT

gordon@osiris.cso.uiuc.edu (John Gordon) writes:

> 
> 	Given the following script:
> #
> foreach line ( `cat this_script` )
>   echo "$line"
> end
> 
> 	I would expect the output to be:
> 
> #
> foreach line ( `cat this_script` )
>   echo "$line"
> end
> 
> 	Is this what's supposed to happen?  Any help appreciated.

John,

I got somewhat better results by using double quotes, as follows:

     foreach line ("`cat this_script`")
                   ^                 ^
--
+--------------------------------------------------------------------+
| Tom Parker             |  National Center for Atmospheric Research |
| tparker@ncar.ucar.edu  |  (303) 497-1227                           |
+--------------------------------------------------------------------+
From: aakash@hpcupt3.cup.hp.com (Aakash Sahai)
Date: Tue, 11 Aug 1992 21:11:02 GMT
Subject: Re: reliable write()
Organization: Hewlett Packard, Cupertino
Newsgroups: comp.unix.questions

> jdr+@andrew.cmu.edu (Jeff Rosenfeld) writes:
> 
> Is there a standard way to get the Unix filesystem to write a file in such
> a way that I can be assured that the data has made it to the disk?
>

The most standard way to do this is to use O_SYNC flag while opening the file
to write. This forces the kernel to do a wait on the buffer till the I/O is
done (i.e. till the time the disk driver marks the buffer as DONE and wakes up
the sleeping process). However, if the disk driver or the disk hardware is
doing some kind of buffering then you can never be sure if the data was written
to media or not.

> mjn@pseudo.uucp (Murray Nesbitt) writes
> 
> You are probably aware of the fflush() system call, which will flush
> data buffered in user address space into the kernel.  Once in the
> kernel, however, you have no way of knowing when the write to disk
> will occur.
> 
> Sorry.

Sorry, there is no system call called "fflush()", maybe you are referring to
the library call. You are right though, it does not guarantee that the data
will be written to the disk.

- Aakash

S.D.A.
Newsgroups: comp.unix.questions,comp.unix.admin
From: gort@netcom.com (george harrington)
Subject: Re: BYPASSING PASSWORD,AND .LOGOUT WHEN A USER LOGS IN
Date: Wed, 19 Aug 92 11:35:00 GMT
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Distribution: na
Keywords: terminal servers modems

In article <1992Aug13.131618.9942@newstand.syr.edu> srangan@rodan.acs.syr.edu (R A N G A N ) writes:
>
>  hi,
>	 Does anybody know how to bypass the password query when a user logs
>	 in ? Also all the files that he creates has to be deleted as soon
>	 he logs out. is there any feature or one has to write a script for
>	 this .
>	 THANKS A ZILLION
>
>	 Send me mail at srangan@mailbox.syr.edu

You mean this isn't the way your system normally operates?


-- 
george harrington gort@netcom.COM
Netcom - Online Communication Services San Jose, CA
From: gwt@cbnewsl.cb.att.com (geoffrey.c.woods)
Newsgroups: comp.unix.questions
Subject: vi will not open large files
Keywords: UNIX System V/386 Ver 3.2 Rel 2.3
Date: 18 Aug 92 19:17:08 GMT
Distribution: na
Organization: AT&T Bell Laboratories


This question probably has a very simple solution, but I can't seem to 
figure it out. The problem is that vi will not create a /tmp file larger
than 518144 characters, so I cannot edit files over approximately 300K.

I am using UNIX System V/386 Rel 3.2 Ver 2.3 with 16meg memory, MAXUMEM=4096, 
ULIMIT=204800 for each user (large because of database req) and have over 
100K blocks in the root directory.

Thanks in advance for your assistance.

					Geoff Woods
					gcw@garage.att.com

		
Xref: sparky comp.unix.questions:10155 comp.unix.programmer:4352
From: cxk6819@hertz.njit.edu (K. Chandrakanth)
Newsgroups: comp.unix.questions,comp.unix.programmer
Subject: regarding rlogin..
Date: 18 Aug 92 17:47:43 GMT
Organization: New Jersey Institute of Technology, Newark, N.J.
Originator: cxk6819@hertz.njit.edu

HI netters,

	Can I write a shell script which has my password and commands
for remote login so that when I execute the shell script it automatically
login into my other account. 

	Generally to remote login we use..

rlogin newark.njit.edu -l kanth

it asks for the password. Instead of that is there any way we can`
give the password and rlogin commands in a shell script  and execute.

thanks in advance.

chandrakanth.

cxk6819@hertz.njit.edu

-- 
god's theorem:
		those who sow in tears will reap in joy.
From: jrd@cc.usu.edu
Newsgroups: comp.unix.questions
Subject: Re: Is there a kermit with sliding windows?
Date: 13 Aug 92 16:38:40 MDT
Organization: Utah State University

In article <1122@mecky.rent-a-guru.de>, walter@mecky.rent-a-guru.de (Walter Mecky) writes:
> I am looking for a UNIX kermit which has the feature of sliding windows
> (like uucp). The newest version I have is 4E(072) which does not. But
> my Dell SVR4 has such a version, but only in binary form. 
> 
> Question: Does such a kermit version exist, what is the number and where
> can I get it?
> 
> Thanks all who answer.
> 
> -- 
>    __o  	Walter Mecky
>  _ \<,_ 	walter@rent-a-guru.de	or  ...uunet!unido!mikros!walter
> (_)/ (_)        Phone: +49 6152 40813
----------
	You need to go to the place where all Columbia Kermits are held.
Anonymous ftp to watsun.cc.columbia.edu. Look in kermit/test for the beta
of C Kermit 5A; that has sliding windows and much more than CK 4E. Betas
are still fluid, natch.
	Joe D.
Newsgroups: comp.unix.questions,comp.sys.hp
From: rollins@oktext.sbc.com (Steven D. Rollins)
Subject: Re: 'cat' does not complete - REPOST
Reply-To: rollins@oktext.UUCP (Steven D. Rollins)
Organization: Southwestern Bell
Date: Wed, 12 Aug 92 14:25:34 GMT

>: only puts out 50-100 lines of the file, then stops, mid-line.  If I
>: remove the line it stopped at, it gets only a little farther.  The file
>: 
>: When it stops, the shell is waiting for input, but there is no
>: prompt.  I have never seen anything like this before.
>: 
>MORE INFO - It turns out all command stop like this.  A 'ps -ef' stops
>about half way down the list.  I am dialing in via a modem if this
>helps.  I still can't figure it out.
>
>-- 
>Bruce Momjian                      

	It sounds like a flow control problem. Your host is sending all
	the data, but when your terminal buffer fills up, it's not telling
	the host to wait. The host keeps sending but the terminal buffer
	is full and loses the data. Try checking modem and host settings
	for flow control.
Steve Rollins
From: sgr@alden.UUCP (Stan Ryckman)
Newsgroups: comp.unix.questions
Subject: Re: SCCS Question
Date: 17 Aug 92 16:50:55 GMT
Distribution: na
Organization: Alden Electronics, Westboro, MA

In article <1697@aviary.Stars.Reston.Unisys.COM> dmarshal@Stars.Reston.Unisys.COM ( Paramax) writes:
>Note:  This is my boss's question, so my apologies if I don't ask it well.
>
>When you initially create an SCCS file without identification keywords,
>sccs complains that you don't have any keywords and continues.  If that
>file is checked out and modified such that identification keywords are
>now present (such as %M%), and then the file is checked back in, sccs
>*still* complains that no keywords are present.  Furthermore, the
>identification keywords are not expanded as we would hope.
>
>Is there any way to get sccs to accept keywords after the inital creation
>of the SCCS file?
>
>We would create new SCCS files with the new keywords in place, but THE MAN
>has decided we ought to keep the history information we have been collecting
>so far.
>-- 
>                                           Dave Marshall
>                                           dmarshal@stars.reston.unisys.com

You're either not doing it right or you have a broken SCCS.  You
didn't say what machine/OS etc.  I'm using a Sun-3 and get the
following:
========
sgr-327) echo This is a test > foo
sgr-328) sccs create foo

foo:
No id keywords (cm7)
1.1
1 lines
No id keywords (cm7)
sgr-329) sccs edit foo
1.1
new delta 1.2
1 lines
sgr-330) echo 'Foo stuff %M% %D% %T% %I%' >> foo
sgr-331) sccs delget foo
comments? none
1.2
1 inserted
0 deleted
1 unchanged
1.2
2 lines
sgr-332) cat foo
This is a test
Foo stuff foo 92/08/17 12:34:42 1.2
sgr-333) sccs edit foo
1.2
new delta 1.3
2 lines
sgr-334) cat foo
This is a test
Foo stuff %M% %D% %T% %I%
sgr-335)
========

Good luck,
Stan.
--
This .signature has expired.  Call 1-900-YOU-FOOL to find out why.
    Stan Ryckman   sgr@alden.UUCP