10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
2. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
3. UNIX for Dummies Questions & Answers
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Discussion started by: shishong
4. Shell Programming and Scripting
I have line in input file as below:
My expected output for line in the file must be :
Can someone... (7 Replies)
Discussion started by: shis100
Anyone know why I might be getting these messages when I'm debugging in dbx? When it stops, I'll get messages like:
stopped in get_smtp_line() at line 248 in file "" ($t1)
couldn't read "mail_un.cpp"
And then I can't list the contents of the file. (2 Replies)
Discussion started by: ctote
What exactly is meant by a "not stripped" executable file? (4 Replies)
Discussion started by: bruceblacklaws
7. Shell Programming and Scripting
I have a perl script which is interacting with Database.
I have following line of code :
use lib ("/home/perl_lib");
use... (1 Reply)
Discussion started by: rawat_me01
i am working in C in Fedora Eclipse 3.3.0 with gdb debugger. I am geting segmentation fault with an error message "mi_cmd_var_create: unable to create variable object" on debugging the program.
What should I do to solve this problem?
Dona_m (14 Replies)
Discussion started by: dona_m
Didn't have this problem in AIX, but ported to Linux with GCC compiler and am now getting a runtime error:
tssutil: symbol lookup error: /work/agility/devel/bin/libagam.so: undefined symbol: fstat
I'm sure most of you know that fstat is an intrinsic function just like printf, memcpy, etc. When I... (5 Replies)
Discussion started by: marcus121
10. UNIX for Dummies Questions & Answers
I was able to solve my previous problem (link directory)... but now i have this following problem.
I have mounted a disk from other machine using "mount -F nfs" command. When i run a batch which generates some files in that drive.... after a certain number of files i get... (1 Reply)
Discussion started by: nileshkarania
caspar-typesetting(7) MISCELLANEOUS caspar-typesetting(7)
caspar-typesetting - Makefile snippets for common typesetting tasks
In a Makefile, write
The caspar docbook.mk and pod.mk files are Makefile snippets for common typesetting tasks, like typesetting LaTeX (see ), DocBook XML,
DocBook SGML (see ) and POD (see ) documents. You just have to type make, instead of stuff like jade -t tex -d caspar/print.dsl
In a directory where you maintain .dbx (Docbook XML) or .tex (LaTeX) files, do
$ echo include caspar/mk/docbook.mk > Makefile
$ vi karenina.dbx
$ make karenina.view
$ make karenina.print
$ vi svejk.tex
$ make svejk.view
$ make svejk.print
$ make clean
Other targets: filename.ps, filename.pdf, filename.2ps, filename.html, filename.printbig, filename.dvi.
Variables you might like to set in your Makefile: XMLDCL (default is /usr/share/sgml/declaration/xml.dcl; if you're not on a Debian
GNU/Linux system, you'll likely have to adjust this), HTML_DSL, PRINT_DSL.
In a directory where you maintain .pod files, do
$ echo include caspar/mk/pod.mk > Makefile
$ vi lire.pod
$ perldoc ./lire.pod
$ make lire.pdf
$ less lire.overstrike-txt
$ make clean
Other targets: filename.ps, filename.html, filename.txt, ... (Similar to the ones supplied by docbook.mk).
Some examples: Overriding the caspar-supplied DSSSL files: Create your own print.dls and html.dsl, in the same directory as your Docbook XML
files. Your Makefile should read:
PRINT_DSL = print.dsl
HTML_DSL = html.dsl
Overriding the standard html-to-text convertor:
$ W3M=lynx make svejk.txt
For docbook.mk: files: XMLDCL, HTML_DSL, PRINT_DSL; utilities: JADE, PDFJADETEX, PDFLATEX, JADETEX, LATEX, W3M, DVIPS, PSNUP, LPR, GV; set-
tings: JADE_MAXERRORS. These variables can get adjusted in Makefile, as well as in the shell environment.
pod.mk Uses no environment variables.
Joost van Baal-Ili
caspar(7)  perlpod(1) about Perl's Plain Old Documentation format
 DocBook: The Definitive Guide on http://docbook.org/,
 The LaTeX Project Homepage on http://www.latex-project.org/.
Some comments on advanced usage are in the files docbook.mk and pod.mk itself.
caspar-typesetting 20120508 8 mai 2012 caspar-typesetting(7)