06-21-2001
all the pretty scripts gone...gone...
I managed to delete my first shell script which was a menu that called functions. I made it all real nice and it ran like a winner.
I was so pleased with it I wanted to print it out and look it over, over lunch. Well, lets just say Im better at scripting than just regular commands coz I deleted it....*slaps capital L to forehead with thumb and forefinger*
Its gone *sniff*
I dont know how to print from vi, Im ashamed to say, and the command I used
*hang onto your bellies* was funcfile>prn...what possessed me, ah, um, lack of any clue?
Oh dear, well if anyone would care to condescend to telling me where they think I may have banished my first unix born Id much appreciate it.
8 More Discussions You Might Find Interesting
1. AIX
http://homepage.virgin.net/johnc.king/files/aixdoc/aixdoc.pdf
this is taken from
http://watkiss.members.easyspace.com/computers/unix/aix/aixdoc.html
it is 372 pages long. (0 Replies)
Discussion started by: Optimus_P
0 Replies
2. UNIX for Dummies Questions & Answers
Hey guys....
couple questions...
I am working a problem set and can't answer this:
1) Suppose you are in a directory that contains a file called "foo." You want to create a new file called "bar" that contains the sorted contents of "foo" in the parent directory of the one you're in. How... (8 Replies)
Discussion started by: ugakid
8 Replies
3. Programming
Ok, so I need to make a program using PICO. Here is the assignment, if anyone knows how to do this please show me. Thanks.
Acme Paints, a well-respected local paint store, is having their big End-Of-Winter Paint Sale. They have way too much red, green, yellow, and blue paint on hand in their... (1 Reply)
Discussion started by: thescene
1 Replies
4. UNIX for Dummies Questions & Answers
This is what I have:
#include <stdio.h>
int main (void)
{
int integerVar;
int floatingVar;
int doubleVar;
int charVar;
integerVar = 100;
floatingVar = 331.79;
doubleVar = 8.44e+11;
charVar = 'W';
_Bool boolVar;
boolVar = 0;
... (3 Replies)
Discussion started by: pwanda
3 Replies
5. Shell Programming and Scripting
Can any one please help me for the following :mad:
i'm searching for an alternative command in linux for passwd -as (which is in solaris) but in linux there is an option "-S" which gives the status of only one user for listing all the user i cudn't find any alternative
this "passwd -as" in... (0 Replies)
Discussion started by: sabee.prakash
0 Replies
6. UNIX and Linux Applications
I'm looking for terminal programs, which organize and pretty code like HTML or JavaScript.
Thanks!
---------- Post updated at 07:01 AM ---------- Previous update was at 01:49 AM ----------
Found this Online javascript beautifier (1 Reply)
Discussion started by: borobudur
1 Replies
7. UNIX for Dummies Questions & Answers
I have about 20 xml files I want to use xmllint to pretty print:
xmllint --format file01.xml > pretty_file01.xml
xmllint --format file02.xml > pretty_file02.xml
etc
Is there a way I can just use "xmllint --format" on all the current xml files so I don't have to run this command 20 times?? :( (5 Replies)
Discussion started by: pxalpine
5 Replies
8. What is on Your Mind?
Hi All,
Just seen this news article on the BBC website.
Microsoft sinks data centre off Orkney - BBC News
Instead of investing in new cooler processor technology they decide to warm the ocean with the old. Okay, it's just an experiment. Interesting? (2 Replies)
Discussion started by: hicksd8
2 Replies
LEARN ABOUT CENTOS
sieveshell
SIEVESHELL(1) User Contributed Perl Documentation SIEVESHELL(1)
NAME
sieveshell - remotely manipulate sieve scripts
SYNOPSIS
sieveshell [--user=user] [--authname=authname] [--realm=realm] [--exec=script] server[:port]
sieveshell --help
DESCRIPTION
sieveshell allows users to manipulate their scripts on a remote server. It works via MANAGESIEVE, a work in progress.
The following commands are recognized:
list list scripts on server.
put <filename> upload script to server.
get <name> [<filename>] get script. if no filename display to stdout
delete <name> delete script.
activate <name> activate script.
deactivate deactivate all scripts.
OPTIONS
-u user, --user=user
The authorization name to request; by default, derived from the authentication credentials.
-a authname, --authname=authname
The user to use for authentication (defaults to current user).
-r realm, --realm=realm
The realm to attempt authentication in.
-e script, --exec=script
Instead of working interactively, run commands from script, and exit when done.
REFERENCES
[MANAGESIEVE] Martin, T.; "A Protocol for Remotely Managing Sieve Scripts", draft-ietf-managesieve-03.txt, Mirapoint, Inc.; May 2001, work
in progress.
AUTHOR
Tim Martin <tmartin@mirapoint.com>, and the rest of the Cyrus team <cyrus-bugs@andrew.cmu.edu>.
perl v5.16.3 2014-06-10 SIEVESHELL(1)