06-01-2006
writing a program
i have written a very simple program in the vi editor, how do i now make it an executable file?
10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Yep, that's right.
I'm writing a Linux binary that requires an X11 Server. It will also be released in a Shell, Win32, and Cocoa (Mac OS X).
It's a program that's a text editor and more. It not just creates TXT and RTF files, it also can save in XML, RSS, and a whole lot of other formats.
... (11 Replies)
Discussion started by: Danny_10
11 Replies
2. Shell Programming and Scripting
Hey guys..
I'm trying to learn how to script in bash...
THIS IS NOT AN ASSIGNMENT but my instructor says to learn you must practice
I'm trying to add to a program I'm writing that will print and save raw data...
What syntax commands would I use to write them?
And Thank you... (2 Replies)
Discussion started by: dmosheye
2 Replies
3. Shell Programming and Scripting
Can anyone create a program that
would test the math skills of the user. Assume that it would test integer addition, The program should ask the question,collect the integer response, evaluate and notify the user if their answer was correct or incorrect. I would assume integers in the range... (5 Replies)
Discussion started by: ccp
5 Replies
4. UNIX for Dummies Questions & Answers
Hi guys
I'm having trouble with trying to create a script which calculates the grade of a student and the marks out of 300.
The grades are:
0-49% fail
50-59% pass
60-69% credit pass
70-79% distinction
80-100% high distinction
less than 0 or greater than 100 displays error message.
My... (1 Reply)
Discussion started by: CompNoob
1 Replies
5. UNIX Desktop Questions & Answers
to determine if two two doubles are equal, we check to see if
their absolute difference is very close to zero. . .if two numbers
are less than .00001 apart, theyre equal.
keep a count field in each record (as you did in p5).
once the list is complete, ask the user to see if an element
is on... (2 Replies)
Discussion started by: rickym2626
2 Replies
6. Shell Programming and Scripting
How would I go about writing a 'Mad Libs' type program using Ruby?
Any examples would be greatly appreciated.
Thanks! (0 Replies)
Discussion started by: greeky
0 Replies
7. Programming
Hi all,
I have an assignment from school to write a shell program in linux. the idea is to exercise fork() and execv() functions.. the shell program is supposed to be the master and every command that the user prints will run in a new process. we also need to try running the command in every... (1 Reply)
Discussion started by: r3vive
1 Replies
8. Programming
I want to write a C++ program that uses a class to do some calculations.
I pass arguments to the program, some of which are used to set up class members. A class function will then perform the necessary calculations.
I am wondering how I should pass the arguments from the program to set the... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Basic Assignment
Write a program similar to the Unix "tee" command.
Program
The Unix "tee" command is used to pull out copies of a data stream. It is typically used in conjunction with pipes (analogous to a T-joint in plumbing, hence... (1 Reply)
Discussion started by: izzy077
1 Replies
10. 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:
Write the a shell script program to remove all space characters stored in the shell variable TEXT.... (7 Replies)
Discussion started by: kofine05
7 Replies
NODAU(1) General Commands Manual NODAU(1)
NAME
nodau - simple console notetaking program
SYNOPSIS
nodau <OPTION> [DATA]
DESCRIPTION
This manual page documents briefly the nodau command.
nodau is a simple console notetaking program.
OPTIONS:
help print this message
list [SEARCH]
list notes, accepts optional search term
new <NAME>
create new note, <NAME> must be unique
encrypt <NAME>
encrypt a new or existing note
decrypt <NAME>
decrypt an existing note
edit <NAME>
open an existing note for editing
show <NAME>
display an existing note
del <SEARCH>
delete a note/notes, accepts name or search term
SEARCH TERM:
search terms with spaces do not need to be inside "quotes"
<NAME> name of a note, list will search for names similar to the term, del will delete only an exact match
t@<DATESTRING> matches notes created at a given date/time
t-<DATESTRING> matches notes created before a given date/time
t+<DATESTRING> matches notes created after a given date/time
DATE STRING:
<DATESTRING> can be made of any typical date format such as:
dd/mm/yy
dd, mm, yyyy hh:mm
EDITING:
By default nodau will use the EDITOR environment variable to edit notes, simply edit the file as usual, nodau will save the note to
it's database when you exit the editor. If EDITOR is not set the nodau builtin editor will be used.
Use of the builtin editor can be forced by setting `force_builtin_editor = true' in the nodau config file. Alternatively, the
external_editor config setting can be set to use a specific editor regardless of the EDITOR environment variable value.
`force_builtin_editor = true' takes precedence over EDITOR and external_editor settings.
The builtin editor accepts standard printable characters, enter, and backspace. There is no support for moving the cursor with the
arrow keys or mouse. To exit the editor and save the note, create a new line with only a dot (.) on it, or press escape.
ENCRYPTION:
Encrypting a note will apply DES encryption to the note using a passphrase which is requested from the user during the process. The
passphrase is then required to decrypt, edit, or read the note. Decrypting a note will restore the note as plain text, and the
passphrase will no longer be required for access.
CONFIGURATION FILE:
The nodau config file is located at $XDG_CONFIG_HOME/nodau/nodau.conf which is typically ~/.config/nodau/nodau.conf.
The following config settings are currently in use:
SETTING VALUES
external_editor name of a text editor executable (vim, nano,etc)
force_builtin_editor true or false
import_old_db true or false
If import_old_db value is true or not set, nodau will import notes from the 0.2.x database to the 0.3.x database.
AUTHOR
This manual page was modified by Lisa Milne <lisa@ltmnet.com> from an original written by Salvatore Bonaccorso <carnil@debian.org> for the
Debian system (but may be used by others).
April 2012 NODAU(1)