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 OSX
git-sh-i18n
GIT-SH-I18N(1) Git Manual GIT-SH-I18N(1)
NAME
git-sh-i18n - Git's i18n setup code for shell scripts
SYNOPSIS
. "$(git --exec-path)/git-sh-i18n"
DESCRIPTION
This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish
scripts and/or are writing new ones.
The 'git sh-i18n scriptlet is designed to be sourced (using .) by Git's porcelain programs implemented in shell script. It provides
wrappers for the GNU gettext and eval_gettext functions accessible through the gettext.sh script, and provides pass-through fallbacks on
systems without GNU gettext.
FUNCTIONS
gettext
Currently a dummy fall-through function implemented as a wrapper around printf(1). Will be replaced by a real gettext implementation in
a later version.
eval_gettext
Currently a dummy fall-through function implemented as a wrapper around printf(1) with variables expanded by the git-sh-
i18n--envsubst(1) helper. Will be replaced by a real gettext implementation in a later version.
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-SH-I18N(1)