02-27-2003
Thanks for the info. The book I was using told me I could re-direct to the same file. Thanks again.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am looking for all the header files (*.h).. which as per documentation of the UNIX system shouldbe there.
I am using
find / -name *.h -print
But it does't give anything.
My question is under what condition the "find" condition will fail to find the file?
What is the work around.
... (4 Replies)
Discussion started by: rraajjiibb
4 Replies
2. Shell Programming and Scripting
Hello friends,
I have a C source code containing sql statements. I use the following sed command to print all the sql blocks in the source code....
sed -n "/exec sql/,/;/p" Sample.cpp
The above sed command will print the sql blocks based on the pattern "exec sql" & ";"... (2 Replies)
Discussion started by: frozensmilz
2 Replies
3. Shell Programming and Scripting
Hi
Is it possible to do the following in a single command
/usr/xpg4/bin/sed -e '/rows selected/d' /aemu/CALLAUTO/callauto.txt > /aemu/CALLAUTO/callautonew.txt
/usr/xpg4/bin/sed -e '/^$/d' /aemu/CALLAUTO/callautonew.txt > /aemu/CALLAUTO/callauto_new.txt
exit (1 Reply)
Discussion started by: aemunathan
1 Replies
4. Shell Programming and Scripting
Hello gurus,
Tired of using $? to view the execution status of the previous command.
how can I get the status directly?
definitely this is not working,
if ]
then
fi (6 Replies)
Discussion started by: biglau
6 Replies
5. Shell Programming and Scripting
My source is on each line
98.194.245.255 - - "GET /disp0201.php?poc=4060&roc=1&ps=R&ooc=13&mjv=6&mov=5&rel=5&bod=155&oxi=2&omj=5&ozn=1&dav=20&cd=&daz=&drc=&mo=&sid=&lang=EN&loc=JPN HTTP/1.1" 302 - "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR... (5 Replies)
Discussion started by: elamurugu
5 Replies
6. Shell Programming and Scripting
Hello All,
I have a bash script and in it at some point I call an Expect Script that does some stuff and saves its
output in a ".txt" file.
Example "/path/to/my/file/Expect_Output.txt" file: notice the 2nd line is empty in the file...
Data for Host-1 (192.168.1.110)
Checking the... (2 Replies)
Discussion started by: mrm5102
2 Replies
7. Shell Programming and Scripting
Hi Team,
The content of the file is as follows.
asdf
234
asdf
asdf
dsfg
gh
67
78
The file is in DOS format (not in Unix Format). The file is transferred to Unix. I need a unix command to check the number of blank lines in a input (comming from Windows). If it is greater than... (4 Replies)
Discussion started by: kmanivan82
4 Replies
8. UNIX for Advanced & Expert Users
Hi Gurus,
Somebody can say me how to delete blank spaces and blank lines in a file unix, please.
Thank you for advanced. (10 Replies)
Discussion started by: systemoper
10 Replies
9. Shell Programming and Scripting
Hi All
Need Help
I have a file with the below format (ABC.TXT) :
®¿¿ABCDHEJJSJJ|XCBJSKK01|M|7348974982790
HDFLJDKJSKJ|KJALKSD02|M|7378439274898
KJHSAJKHHJJ|LJDSAJKK03|F|9898982039999
(cont......)
I need to write a script where it will check for : blank lines (between rows,before... (6 Replies)
Discussion started by: chatwithsaurav
6 Replies
10. Shell Programming and Scripting
Hi,
I am working on a script where I am adding adding colors to few of the info in the output.
Now , after that is done , I see colour codes in log files which I don't want to see.:mad::mad::mad::mad:
So , I tried using sed command in script as below which gives me o/p (new.log) as blank file... (7 Replies)
Discussion started by: Dream4649
7 Replies
LEARN ABOUT DEBIAN
derivations
DERIVATIONS(7) Derivations of Applied Mathematics DERIVATIONS(7)
NAME
derivations - book: Derivations of Applied Mathematics
DESCRIPTION
Understandably, program sources rarely derive the mathematical formulas they use. Not wishing to take the formulas on faith, a user might
nevertheless reasonably wish to see such formulas somewhere derived.
Derivations of Applied Mathematics is a book which documents and derives many of the mathematical formulas and methods implemented in free
software or used in science and engineering generally. It documents and derives the Taylor series (used to calculate trigonometrics), the
Newton-Raphson method (used to calculate square roots), the Pythagorean theorem (used to calculate distances) and many others.
READING THE BOOK
Among other ways, you can read the book on your computer screen by opening the file /usr/share/doc/derivations/derivations.ps.gz with the
gv(1) program under X(7). To print the book on a standard postscript printer, just zcat(1) then lpr(1) the same file.
FILES
/usr/share/doc/derivations/derivations.ps.gz
the book in postscript format
/usr/share/doc/derivations/derivations.pdf.gz
the book in PDF
BUGS
The book is a work in progress.
AUTHOR
The book and this manpage are written by Thaddeus H. Black, who also maintains the Debian package derivations in which they are distrib-
uted. Users who need to contact the author in his role as Debian package maintainer can reach him at <thb@debian.org>. However, most e-
mail will naturally be about the book itself: this should be sent to <thb@derivations.org>.
COPYLEFT
Copyright (C) 1983-2010 Thaddeus H. Black.
The book, this manpage and the entire derivations distribution are free software. You can redistribute them and/or modify them under the
terms of the GNU General Public License, version 2.
SEE ALSO
gv(1) [gv], zcat(1) [gzip], psselect(1) [psutils], lpr(1) [lpr], octave(1) [octave]
Thaddeus H. Black 10 March 2010 DERIVATIONS(7)