Re: about "interfaces" file
- From: apm35@xxxxxxxxxxxxxxxxxx
- Date: Thu, 15 Nov 2007 01:20:02 -0800 (PST)
Pablo Sanchez wrote:
In article <49i0mk$dos@xxxxxxxxxxxxxxxxxxxxx>, terrym@xxxxxxxxxxxx writes:[snip]
I wrote the following shell script to convert a *normal* :-)
interfaces file into a TLI interfaces file
Pablo Sanchez | Ph # (415) 933.3812 Fax # (415) 933.2821
pablo@xxxxxxx | Pg # (800) 930.5635 -or- pablo_p@xxxxxxxxxxxx
Many thanks, this is just the sort of script I was looking for.
Unfortunately it gives an error:
nawk: newline in string %s tli tc... at source line 44 in
function expand_entry
context is
printf "\t%s tli tcp /dev/tcp \\x000$5 >>>
<<< IP=""
nawk: next is illegal inside a function at source line 54 in function
expand_entry
nawk: syntax error at source line 55 in function expand_entry
missing }
The env in which I find myself has some ancient components that will
never be changed/updated. Maybe the version of nawk is too old? Why
does the script use nawk and not awk please?
-Andrew Marlow
.
- Prev by Date: Announce: XML 2007 Conference
- Next by Date: sum over ( Partition By )
- Previous by thread: Announce: XML 2007 Conference
- Next by thread: sum over ( Partition By )
- Index(es):
Relevant Pages
|
|