07-24-2010
It means what it says: 'idxtype' is undeclared. Either you haven't included the right header, or your use of the type is wrong. Beyond that I can't tell, you'd need to post the source code.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
What would be the best way to check if a particular line (in variable) has an another line (more than 1 char)?
I understand it could be done with 'grep', 'sad', 'awk', by parameter expansion, but all these seems to me havy, worldy, not elegant and overhead in processing
For so common task... (2 Replies)
Discussion started by: alex_5161
2 Replies
2. Shell Programming and Scripting
I'm trying to create a bash script that takes a URL as one of its arguments like this:
./script.sh http://url.cfm?asdf&asdf=234
variable=$1
echo $variable
I'm having trouble storing the URL because it contains the meta character "&" which is being interpreted... thus when I run the... (4 Replies)
Discussion started by: kds1398
4 Replies
3. UNIX for Advanced & Expert Users
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies
4. Programming
I know that <cstudio> can also be <stdio> and can be written different ways on Linux then with windows.
I've see some code doing a IFDEF __APPLE__ (I'm guessing, if compiled on a mac do whats between this) Is there one for Linux/Window? (3 Replies)
Discussion started by: james2432
3 Replies
5. Shell Programming and Scripting
I have this problem on my SFTP script. When you direct the standard error to a file, it also contains the acknlowledgement. See below:
sftp.log
Connecting to xxx.xxx.xxx
This computer is property of x company and is intended on...
Connecting to xxx.xxx.xxx
This computer is property... (0 Replies)
Discussion started by: The One
0 Replies
6. Shell Programming and Scripting
I want to select only second line.
I want to search for any line that has both ->
input.txt
/userA/aaaaaaabbb/jakarta
/userA/aaaaaaa/jakarta
/userB/aaaaaaabbb/jakarta
/userB/aaaaaaa/jakarta
This command does have effect of -->
$>cat input.txt | /usr/xpg4/bin/grep -E... (13 Replies)
Discussion started by: kchinnam
13 Replies
7. Programming
Below is the top of my Makefile. On one machine, I have mysql_config5, and another, I have mysql_config. In my .bashrc file of one UNIX machine, I added an alias so that that mysql_config5 is mysql_config, however, when I do make, it doesn't use that environment and I get compile errors, unless I... (1 Reply)
Discussion started by: pyramation
1 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies
9. Shell Programming and Scripting
How do I pipe the output of something to a filename that includes the date, in a specific date format?
Here's the goal. Output a script to a file periodically during the day:
./script.sh >>logname_yyyy-mm-dd.logAnd when the next day comes, it starts logging to a new filename because the date... (2 Replies)
Discussion started by: nbsparks
2 Replies
LEARN ABOUT DEBIAN
nnpost
NNPOST(1) General Commands Manual NNPOST(1)
NAME
nnpost - post news articles (nn)
SYNOPSIS
nnpost [ -dksy string ] [ -f file ] [ -p ] [ group... ]
DESCRIPTION
nnpost is used to post new articles using nn's normal interface, but without entering nn in reading mode.
When started, it reads the init file and then directly executes nn's :post command.
It will prompt for a (comma-separated) list of news groups, the article subject, a list of keywords, a summary, and the distribution of the
article. Each of these prompts can also be supplied via command line options or arguments as described below.
When prompted for the "Newsgroup:", entering a ? as the first key will cause nnpost to list all the known news groups and their purpose (if
this information is available). You can also enter / followed by a word or regular expression which will cause nnpost to produce a (much)
shorter listing only containing the groups whose name and/or purpose description matches the regular expression. When paging through
either list, you can enter q to quit the listing.
If a source file is specified with -f it will be used as the initial article body. If the -p option is also specified, the article is
posted directly without editing.
nnpost can be used to do unattended postings if sufficient arguments are provided on the command line to build the header and the body of
the article. The required arguments are: one or more newsgroups, a subject (-s), a source file (-f), a distribution (-d), and the -p
option. Other fields which are not specified (e.g. keywords) will not be included in the header. The contents of the news-header variable
in the init file will be included in the header.
OPTIONS
-d distribution
Use the specified distribution for the article.
-k "keywords"
Associate the specified keywords with the article.
-s "subject"
Use the specified subject for the new article.
-y "summary"
Include the given summary in the article header.
-f file
Read the article body from the specified file.
-p Post the article specified with -f without editing.
FILES
~/.nn/init The control variables for nnpost.
SEE ALSO
nn(1)
AUTHOR
Kim F. Storm, Texas Instruments A/S, Denmark
E-mail: storm@texas.dk
4th Berkeley Distribution Release 6.6 NNPOST(1)