Re: Segmentation fault in sh script using base utilities only

2007-08-09 Thread Andrés
On 8/6/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Mon, 6 Aug 2007, Andris wrote: > > > On 8/6/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > > > > > On Sun, 5 Aug 2007, Andris wrote: > > > > > > > Yeap, it segfaults here with: > > > > > > > > aTbTc > > > > daaaTe > > > > fsss

Re: Segmentation fault in sh script using base utilities only

2007-08-06 Thread Otto Moerbeek
On Mon, 6 Aug 2007, Andris wrote: > On 8/6/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > > > On Sun, 5 Aug 2007, Andris wrote: > > > > > Yeap, it segfaults here with: > > > > > > aTbTc > > > daaaTe > > > fs > > > > > > Upper case T are horizontal tabs. It mak

Re: Segmentation fault in sh script using base utilities only

2007-08-06 Thread Andrés
On 8/6/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Sun, 5 Aug 2007, Andris wrote: > > > Yeap, it segfaults here with: > > > > aTbTc > > daaaTe > > fs > > > > Upper case T are horizontal tabs. It makes OpenBSD freeze too :S > > > > Hmm, no segfault here, j

Re: Segmentation fault in sh script using base utilities only

2007-08-06 Thread Otto Moerbeek
On Sun, 5 Aug 2007, Andris wrote: > Yeap, it segfaults here with: > > aTbTc > daaaTe > fs > > Upper case T are horizontal tabs. It makes OpenBSD freeze too :S > Hmm, no segfault here, just: [EMAIL PROTECTED]:35]$ sh x awk: syntax error at source line 2 contex

Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Andrés
On 8/5/07, Otto Moerbeek <[EMAIL PROTECTED]> wrote: > > On Sat, 4 Aug 2007, Andris wrote: > > > Hi, I'm writing a set of small utilities as scripts, and I got a > > segmentation fault working on one of them. > > I tried running your script but it did not produce any seg faults. > Do you have exampl

Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Andrés
On 8/5/07, Clint Pachl <[EMAIL PROTECTED]> wrote: > Andris wrote: > > On 8/5/07, Jacek Masiulaniec <[EMAIL PROTECTED]> wrote: > > > >> On 4 Aug 2007, at 19:31, Andris wrote: > >> > >>> Hi, I'm writing a set of small utilities as scripts, and I got a > >>> segmentation fault working on one of them.

Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Otto Moerbeek
On Sat, 4 Aug 2007, Andris wrote: > Hi, I'm writing a set of small utilities as scripts, and I got a > segmentation fault working on one of them. I tried running your script but it did not produce any seg faults. Do you have example input that causes a seg fault? -Otto > > The script is

Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Clint Pachl
Andris wrote: On 8/5/07, Jacek Masiulaniec <[EMAIL PROTECTED]> wrote: On 4 Aug 2007, at 19:31, Andris wrote: Hi, I'm writing a set of small utilities as scripts, and I got a segmentation fault working on one of them. The script is suppoused to align text with spaces. Say you have this

Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Andrés
On 8/5/07, Jacek Masiulaniec <[EMAIL PROTECTED]> wrote: > On 4 Aug 2007, at 19:31, Andris wrote: > > Hi, I'm writing a set of small utilities as scripts, and I got a > > segmentation fault working on one of them. > > > > The script is suppoused to align text with spaces. Say you have > > this file:

Re: Segmentation fault in sh script using base utilities only

2007-08-05 Thread Jacek Masiulaniec
On 4 Aug 2007, at 19:31, Andris wrote: Hi, I'm writing a set of small utilities as scripts, and I got a segmentation fault working on one of them. The script is suppoused to align text with spaces. Say you have this file: Foo1\tFoo2 Br\tBar2 Baz Where \t are horizontal tabs. My scr

Re: Segmentation fault in sh script using base utilities only

2007-08-04 Thread Mic J
well for completeness stdout wasnt changed either. but as you said, the script is in progress. michael

Re: Segmentation fault in sh script using base utilities only

2007-08-04 Thread Andrés
On 8/4/07, Mic J <[EMAIL PROTECTED]> wrote: > On 8/4/07, Andris <[EMAIL PROTECTED]> wrote: > > Hi, I'm writing a set of small utilities as scripts, and I got a > > segmentation fault working on one of them. > > > > The script is suppoused to align text with spaces. Say you have this file: > > > > F

Segmentation fault in sh script using base utilities only

2007-08-04 Thread Andrés
Hi, I'm writing a set of small utilities as scripts, and I got a segmentation fault working on one of them. The script is suppoused to align text with spaces. Say you have this file: Foo1\tFoo2 Br\tBar2 Baz Where \t are horizontal tabs. My script would replace the tabs with an adequa