Re: awk and fiaif

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Might check the very last line (character) of
> /etc/fiaif/fiaifi.conf and the other files.
>
> What if the last line did not end in a new
> line for some reason?
>

cheked that.. but still awk-3.1.1-9 from redhat 9 has no problems with
these files


> Are subprocesses involved?  Just in case:
>
>   strace -f  -o/tmp/trace-gawk  awk -f  etc....
>

output:

18225 execve("/bin/awk", ["awk", "-f", "/usr/share/fiaif/syntax.awk",
"-f", "/usr/share/fiaif/fiaif_rules.awk"], [/* 23 vars */]) = 0
18225 uname({sys="Linux", node="server02", ...}) = 0
18225 set_tid_address(0)                = -1 ENOSYS (Function not
implemented)
18225 brk(0)                            = 0x808bc4c
18225 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
18225 open("/etc/ld.so.cache", O_RDONLY) = 3
18225 fstat64(3, {st_mode=S_IFREG|0644, st_size=12744, ...}) = 0
18225 old_mmap(NULL, 12744, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40000000
18225 close(3)                          = 0
18225 open("/lib/libdl.so.2", O_RDONLY) = 3
18225 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0Pj\235I"...,
512) = 512
18225 fstat64(3, {st_mode=S_IFREG|0755, st_size=16312, ...}) = 0
18225 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40004000
18225 old_mmap(0x499d5000, 12148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0)
= 0x499d5000
18225 old_mmap(0x499d7000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x499d7000
18225 close(3)                          = 0
18225 open("/lib/i686/libm.so.6", O_RDONLY) = 3
18225 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0E\233"...,
512) = 512
18225 fstat64(3, {st_mode=S_IFREG|0755, st_size=213212, ...}) = 0
18225 old_mmap(0x499b1000, 137968, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0)
= 0x499b1000
18225 old_mmap(0x499d2000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x499d2000
18225 close(3)                          = 0
18225 open("/lib/i686/libc.so.6", O_RDONLY) = 3
18225 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
\234\210"..., 512) = 512
18225 fstat64(3, {st_mode=S_IFREG|0755, st_size=1565932, ...}) = 0
18225 old_mmap(0x49874000, 1290148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0x49874000
18225 old_mmap(0x499a9000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x134000) = 0x499a9000
18225 old_mmap(0x499ad000, 8100, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x499ad000
18225 close(3)                          = 0
18225 munmap(0x40000000, 12744)         = 0
18225 brk(0)                            = 0x808bc4c
18225 brk(0x80acc4c)                    = 0x80acc4c
18225 brk(0)                            = 0x80acc4c
18225 brk(0x80ad000)                    = 0x80ad000
18225 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
18225 fstat64(3, {st_mode=S_IFREG|0644, st_size=33513072, ...}) = 0
18225 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40005000
18225 close(3)                          = 0
18225 rt_sigaction(SIGFPE, {0x8066360, [FPE], SA_RESTORER|SA_RESTART,
0x4989c848}, {SIG_DFL}, 8) = 0
18225 rt_sigaction(SIGSEGV, {0x8066360, [SEGV], SA_RESTORER|SA_RESTART,
0x4989c848}, {SIG_DFL}, 8) = 0
18225 rt_sigaction(SIGBUS, {0x8066360, [BUS], SA_RESTORER|SA_RESTART,
0x4989c848}, {SIG_DFL}, 8) = 0
18225 fstat64(0, {st_mode=S_IFREG|0600, st_size=4274, ...}) = 0
18225 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
18225 fstat64(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
18225 getgroups32(0, NULL)              = 7
18225 getgroups32(7, [0, 1, 2, 3, 4, 6, 10]) = 7
18225 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon
echo ...}) = 0
18225 open("/usr/share/fiaif/syntax.awk", O_RDONLY|O_LARGEFILE) = 3
18225 fstat64(3, {st_mode=S_IFREG|0644, st_size=6999, ...}) = 0
18225 fcntl64(3, F_SETFD, FD_CLOEXEC)   = 0
18225 fstat64(3, {st_mode=S_IFREG|0644, st_size=6999, ...}) = 0
18225 read(3, "#! /usr/bin/awk -f\n\n# FIAIF is a"..., 4096) = 4096
18225 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 4
18225 fstat64(4, {st_mode=S_IFREG|0644, st_size=21436, ...}) = 0
18225 mmap2(NULL, 21436, PROT_READ, MAP_SHARED, 4, 0) = 0x40205000
18225 close(4)                          = 0
18225 read(3, "\tbreak\n\t\t    }\n\t\t}\n\t\tif (!eaten)"..., 4096) = 2903
18225 read(3, "", 4096)                 = 0
18225 close(3)                          = 0
18225 open("/usr/share/fiaif/fiaif_rules.awk", O_RDONLY|O_LARGEFILE) = 3
18225 fstat64(3, {st_mode=S_IFREG|0644, st_size=3216, ...}) = 0
18225 fcntl64(3, F_SETFD, FD_CLOEXEC)   = 0
18225 fstat64(3, {st_mode=S_IFREG|0644, st_size=3216, ...}) = 0
18225 read(3, "# description: Automates a packe"..., 3216) = 3216
18225 read(3, "", 3216)                 = 0
18225 close(3)                          = 0
18225 fstat64(0, {st_mode=S_IFREG|0600, st_size=4274, ...}) = 0
18225 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff8ec) = -1 ENOTTY
(Inappropriate ioctl for device)
18225 fstat64(0, {st_mode=S_IFREG|0600, st_size=4274, ...}) = 0
18225 read(0, "################################"..., 4096) = 4096
18225 brk(0)                            = 0x80ad000
18225 brk(0x80cf000)                    = 0x80cf000
18225 brk(0)                            = 0x80cf000
18225 brk(0)                            = 0x80cf000
18225 brk(0x80cc000)                    = 0x80cc000
18225 brk(0)                            = 0x80cc000
18225 brk(0)                            = 0x80cc000
18225 brk(0)                            = 0x80cc000
18225 brk(0x80cb000)                    = 0x80cb000
18225 brk(0)                            = 0x80cb000
18225 brk(0)                            = 0x80cb000
18225 brk(0x80ec000)                    = 0x80ec000
18225 brk(0)                            = 0x80ec000
18225 brk(0x810d000)                    = 0x810d000
18225 brk(0)                            = 0x810d000
18225 brk(0x812e000)                    = 0x812e000
18225 brk(0)                            = 0x812e000
18225 brk(0x814f000)                    = 0x814f000
18225 brk(0)                            = 0x814f000
18225 brk(0x8170000)                    = 0x8170000
18225 brk(0)                            = 0x8170000
18225 brk(0x8191000)                    = 0x8191000
18225 brk(0)                            = 0x8191000
18225 brk(0x81b2000)                    = 0x81b2000
18225 brk(0)                            = 0x81b2000
18225 brk(0x81d3000)                    = 0x81d3000
18225 brk(0)                            = 0x81d3000
18225 brk(0x8202000)                    = 0x8202000
18225 brk(0)                            = 0x8202000
18225 brk(0x8223000)                    = 0x8223000
18225 brk(0)                            = 0x8223000
18225 brk(0x8244000)                    = 0x8244000
18225 brk(0)                            = 0x8244000
18225 brk(0x8529000)                    = 0x8529000
18225 brk(0)                            = 0x8529000
18225 brk(0x854a000)                    = 0x854a000
18225 brk(0)                            = 0x854a000
18225 brk(0x856b000)                    = 0x856b000
18225 mmap2(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4020b000
18225 brk(0)                            = 0x856b000
18225 brk(0x858c000)                    = 0x858c000
18225 brk(0)                            = 0x858c000
18225 brk(0x85ad000)                    = 0x85ad000
18225 brk(0)                            = 0x85ad000
18225 brk(0x85ce000)                    = 0x85ce000
18225 brk(0)                            = 0x85ce000

------ endless ----




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux