02-14-2002
This looks suspiciously like homework / coursework...
Of course we would never post homework, right?
If I'm mistaken, please let me know.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone direct me to a resource that explains scripting in simple terms?
I have visited many sites and browsed this forum and have yet to find simple explanations. (8 Replies)
Discussion started by: rocinante
8 Replies
2. UNIX for Dummies Questions & Answers
Hi,
So, I created a file named TEST.BAT in my home directory.
In it, I wrote:
#! /bin/bash
echo Hello
and then, saved the file.
Then, at the command-line interface, I typed TEST.BAT, but the command-line never executes the file and thus, never returns "Hello". It says "command... (2 Replies)
Discussion started by: Hyunkel
2 Replies
3. UNIX for Dummies Questions & Answers
Hello to all!
I am new with unix and i need your help to make something..
First of all i want to inform you that i am working under the Minix 3 OS.
What i want to make is, a new system call in terms of the process manager.
This system call should take an integer as a parameter (input) and... (1 Reply)
Discussion started by: kostis1904
1 Replies
4. Shell Programming and Scripting
Hi
I want to write a small script that will create folders named from `AAAA' all the way to `ZZZZ'.
That is:
`AAAA'
`AAAB'
`AAAC'
...
`AABA'
`AABB'
`AABC'
...
`ABAA'
`ABAB'
`ABAC'
...
`ABBA'
...
`ZZZZ' (4 Replies)
Discussion started by: ksk
4 Replies
5. Solaris
I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9... (3 Replies)
Discussion started by: vinaysa
3 Replies
6. Shell Programming and Scripting
Hello - I am in process of deleting many files which are older than 4 weeks.
For example I am inside:
/subsystem/prod/
Files are with various extentions, but anything older than 4 weeks should be deleted.
What would be the most simplest script to acheive this? (4 Replies)
Discussion started by: DallasT
4 Replies
7. Shell Programming and Scripting
Guys I want to do this:
copy:
/var/router/system1/config/backup/install.put
/var/router/system2/config/backup/install.put
/var/router/system3/config/backup/install.put
/var/router/system4/config/backup/install.put
into:
/var/router/system1/config/install.dat... (22 Replies)
Discussion started by: DallasT
22 Replies
8. Shell Programming and Scripting
Dear all,
I have a directory named A and some subdirectories named B, C, D with .xml files. I want to use the following command to strip the file.
sed -re ':start s/<*>//g; /</ {N; b start}' file.xml > file.xml
At the same time, I want to remove the blank lines using
sed '/^$/d'
How can... (6 Replies)
Discussion started by: corfuitl
6 Replies
9. Shell Programming and Scripting
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Discussion started by: torchij
16 Replies
10. Homework & Coursework Questions
This is the problem: Write a script that will make a backup of a file giving it a ‘.bak’ extension & verify that it works. I have tried a number of different scripts that haven't worked and I haven't seen anything really concise and to the point via google. For brevity's sake this is one of the... (4 Replies)
Discussion started by: demet8
4 Replies
LEARN ABOUT DEBIAN
pilot-install-todo
pilot-install-todo(1) PILOT-LINK pilot-install-todo(1)
NAME
pilot-install-todo - Updates the Palm ToDo list with one new entry.
SECTION
pilot-link: Userland conduits
SYNOPSIS
pilot-install-todo [-p|--port <port>] [-q|--quiet] [--version] [-?|--help] [--usage] [-P|--priority [1|2|3|4|5]] [-d|--due mm/dd/yyyy]
[-c|--completed] [-D|--description [title]] [-n|--note note] [-f|--file filename]
DESCRIPTION
pilot-install-todo allows the user to install one new ToDo list entry with specified parameters passed to pilot-install-todo and add a
Note entry using text found in a filename <filename> passed to pilot-install-todo.
OPTIONS
pilot-install-todo options
-P,
--priority priority
Specify the priority of the ToDo entry - 1|2|3|4|5 (defaults to a priority of 1).
NOTE: this value has changed from the default of 4 to the default of 1, just as a new ToDo entry on the Palm would set it.
-d,
--due duedate
The due Date MM/DD/YYYY (defaults to blank, no due date if this is not specified).
-c, --completed
Mark the item complete (the default is to mark the item as incomplete, as the Palm would do it).
-D,
--description title
The title of the ToDo entry
-n, --note
note
The Note text you wish to add to this ToDo entry, if any.
-f,
--file filename
A local filename containing the Note text.
Conduit Options
-p, --port
<port>
Use device file <port> to communicate with the Palm handheld. If this is not specified, pilot-install-todo will look for the $PILOTPORT
environment variable. If neither are found or supplied, pilot-install-todo will print the usage information.
-q,
--quiet
Suppress 'Hit HotSync button' message
-v, --version
Display version of pilot-install-todo and exit without connecting.
Help Options
-h, --help
Display the help synopsis for pilot-install-todo and exit without connecting.
--usage
Display a brief usage message and exit without connecting.
USAGE
The program will connect to a target Palm handheld, and creates the ToDo entry to the Palm ToDo application, using the specified parameters
and input from the supplied file passed as arguments on the commandline.
EXAMPLE
pilot-install-todo -p /dev/pilot -n 'Buy Milk' -D 'Go shopping, see note for items'
AUTHOR
pilot-install-todo was originally written by Martin Fick, based on code in pilot-install-todos by Robert A. Kaplan.
This manual page was converted to XML by Neil Williams <linux@codehelp.co.uk>
REPORTING BUGS
We have an online bug tracker. Using this is the only way to ensure that your bugs are recorded and that we can track them until they are
resolved or closed. Reporting bugs via email, while easy, is not very useful in terms of accountability. Please point your browser to
http://bugs.pilot-link.org: http://bugs.pilot-link.org and report your bugs and issues there.
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
SEE ALSO
pilot-install-todos(1), pilot-link(7).
0.12.5 Copyright 1996-2007 FSF pilot-install-todo(1)