Re: [vox-tech] script error when migrated from Solaris to Linux

2009-12-23 Thread Hai Yi
you are so right! we do use sccs. I first thought it's a in-house thing, didn't know it's a oddie-goodie. On Wed, Dec 23, 2009 at 8:42 PM, Tony Cratz wrote: > Hai Yi wrote: >> I thought so too. But it's what's the first line in the script. It's >> running on Sun OS 4. >> >> >>> Hai Yi wrote: >>>

Re: [vox-tech] script error when migrated from Solaris to Linux

2009-12-23 Thread Tony Cratz
Hai Yi wrote: > I thought so too. But it's what's the first line in the script. It's > running on Sun OS 4. > > >> Hai Yi wrote: >> >>> #ident "%W%" >>> >> >> Should that really be? >> >> #!/bin/sh >> ident "%W%" I just did a refresh of my some of my early programming days. The

Re: [vox-tech] script error when migrated from Solaris to Linux

2009-12-23 Thread Hai Yi
I thought so too. But it's what's the first line in the script. It's running on Sun OS 4. On Wed, Dec 23, 2009 at 8:26 PM, Tony Cratz wrote: > Hai Yi wrote: > >> #ident "%W%" >> > > > Should that really be? > > #!/bin/sh > ident "%W%" > > >                                                        

Re: [vox-tech] script error when migrated from Solaris to Linux

2009-12-23 Thread Tony Cratz
Hai Yi wrote: > #ident "%W%" > Should that really be? #!/bin/sh ident "%W%" Tony ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech

[vox-tech] script error when migrated from Solaris to Linux

2009-12-23 Thread Hai Yi
hello there: I was given an assignment to migrate a script from Solaris to Linux, when running the script on Linux, I got this error message: /bin/sh: command substitution: line 0: unexpected EOF while looking for matching `'' /bin/sh: command substitution: line 1: syntax error: unexpected end of