Change your technique to get rid of the pipeline, change your shell to ksh, or live with the empty array. These are your options. Sorry, but you can't keep the pipeline, bash, and the array contents. One has to go. Here is a simple script to illustrate the problem...
ksh is the only shell I know that will populate both arrays. This is one of the reasons that I strongly prefer ksh to other shells. (The other is ksh co-processes.) So my suggestion: switch to ksh.
Hi ,
My requirement is that i need to search for a number of strings in a log file and print them with line numbers.The search should be date wise.
The sample log file is :
Jan 17 02:45:34 srim6165 MQSIv500: (UKBRKR1P_B.LZ_
BENCHMARKS)BIP2648E: Message backed out to a queue; node... (6 Replies)
Hello
We have a webapp that launches a link in a popup. We need to use webinject to check the content of that popup but have been so far unsuccessful. We use webinject as a nagios plugin.
Does anyone have any experience of using/configuring webinject and know if this is possible or not?
... (1 Reply)
Hello, I'm a computer science major and I'm having problems dealing with file names with spaces in them. Particularly I'm saving a file name in a variable and then using the variable in a compare function i.e.
a='te xt.txt'
b='file2.txt'
cmp $a $b
If anyone could help me with this particular... (10 Replies)
I am having trouble with a script that is supposed to :
a)take all the jpg pictures in a given directory/parameter and create thumbnails of it in a directory on the desktop.
e.g
from /here/are/the/files.jpg to ~/Desktop/parser-the/files.png
this is my script: all the individual parts... (2 Replies)
I'm currently making a card dealing program, it is suppose to display a list of cards like this:
"Ace of Heart, is red"
"Two of Heart, is red"
.
.
"Ace of Spade, is black"
and so on for all suits and numbers.
here is my current code:
#include <stdio.h>
#include <stdlib.h>
#include... (3 Replies)
Geany : Home Page, the text editor, sometimes crashes and leaves a geany.core file. This is a binary file and supposedly contains all unsaved work and possibly some other information. Does anyone know how to deal with this file? (2 Replies)
Korn Shell
I have hundreds of small files like below created every day. A midnight cron job moves them to the location /u04/temp/logs
But sometimes I have to manually move these files based a certain dates or time.
I have two basic requirements
1.Using mv command I want to move all .dat... (2 Replies)
Recently I have been trying to boot into slackware on a new laptop that came preinstalled with windows 8. I have successfully installed slackware and Lilo, but I have had great difficult attempting to boot into it. Since the laptop contains no optical drive, I have been attempting to boot into... (2 Replies)
I have an edge-list with nodes, edge.txt
A B
B J
J H
C A
G H
G A
A C
K G
I have another file which tells me which of these nodes are important, input.txt
G
C
A (3 Replies)
Discussion started by: Sanchari
3 Replies
LEARN ABOUT SUSE
axports
AXPORTS(5) Linux Programmer's Manual AXPORTS(5)NAME
/etc/ax25/axports - AX.25 port configuration file.
DESCRIPTION
axports is an ASCII file that contains information about each of the physical AX.25 ports that are to be used. When dealing with an AX.25
utility such as call, it takes an argument that is the port name. This port name is a reference to the line within axports, which has that
name as its first argument. The information on each line contains enough information to bind the command to a particular physical AX.25
interface, this binding is done by matching the callsign on the line in axports with the callsign of the port set by kissattach.
The lines within axports must either be a comment line, which starts with a # in the first column, or a port description in the following
format, each field being delimited by white space:
name callsign speed paclen window description
The field descriptions are:
name is the unique identifier of the port. This is the name given as the port argument of many of the AX.25 support pro-
grams. This is not in any way related to actual device identities, just unique
callsign the callsign of the physical interface to bind to.
speed this is the speed of interface, a value of zero means that no speed will be set by kissattach(8).
paclen is the default maximum packet size for this interface.
window the default window size for this interface.
description a free format description of this interface, this field extends to the end of the line. This field may contain spaces.
FILES
/etc/ax25/axports
SEE ALSO call(1), ax25(4), axparms(8), kissattach(8).
Linux 2008-Feb-04 AXPORTS(5)