08-25-2011
@Andrey (yazu), thanks for the link to the book. I appreciate it.
- GP
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to remove some lines from begining of file (header) and some lines from end of file (footer).
The header/footer lines generated by web-browser when the user upload a file to my webserver.
Example:
-----------------------------7d62af20c052c
Content-Disposition: form-data;... (2 Replies)
Discussion started by: seaky
2 Replies
2. Shell Programming and Scripting
Hi Gurus,
My requirement is, I am passing a file1.dat into this(rowcnt.sh) script,but returning a wrong value of -2.(it should be 4).Becoz my file1.dat contains 6records incl: Header & Footer.(6-2=4)
wrong output:
-------
#sh rowcnt.sh file1.dat
-2 actual_cnt except HDR & FTR
should be:... (3 Replies)
Discussion started by: vsubbu1000
3 Replies
3. Shell Programming and Scripting
Hi All,
I have several txt files i need to enter specific header and footer (both are separate) to all these files how can i do this? plz help..
Regards,
Raghav (4 Replies)
Discussion started by: digitalrg
4 Replies
4. Shell Programming and Scripting
Hi, Guys,
I want add header and footer in a file. I can add footer using following command:
echo "Footer" >>file.
I don't know how to add header.
Thanks in advance (4 Replies)
Discussion started by: ken002
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to check whether the incoming file has a header and footer using a UNIX script. The pattern of the header and footer is fixed as follows:
Header: Name,Date
Footer: Count, Total
Name,Date
-------------------------
-------------------------
-------------------------
Count,... (5 Replies)
Discussion started by: Sunny_teotia
5 Replies
6. Shell Programming and Scripting
Hi,
TASK 1:
I have been using this code to print the information of files kept at "/castor/cern.ch/user/s/sudha/forPooja" in some text file name FILE.txt.
rfdir /castor/cern.ch/user/s/sudha/forPooja | grep data | awk '{print "rfio:///castor/cern.ch/user/s/sudha/forPooja/"$9}' > FILE.txt
... (6 Replies)
Discussion started by: nrjrasaxena
6 Replies
7. Shell Programming and Scripting
Hi All,
I need to write a script that In my file I have to check header and footer records are available or not. If it is available I have to run the script, otherwise I should not. But current script it is checking only the data inside the script. It is avoiding to check Header and Footer... (1 Reply)
Discussion started by: suresh_target
1 Replies
8. Shell Programming and Scripting
I have two files which are getting sent to a UNIX server in order to be bcp'd into a database. The bcp is failing because there's a header and footer row on the file which give the date of the file and the number of rows in it. That's because the file is also being used for another process, so we... (1 Reply)
Discussion started by: Tom Sawyer
1 Replies
9. Shell Programming and Scripting
This is my file(Target.txt)
name|age|locaction
abc|23|del
xyz|24|mum
jkl|25|kol
The file should be like this
1|03252012
1|name|age|location
2|abc|23|del
2|xyz|24|mum
2|jkl|25|kol
2|kkk|26|hyd
3|4
Column 1 is row indicator
for row 1 and 2, column indicator is 1,for data rows... (1 Reply)
Discussion started by: itsranjan
1 Replies
10. Shell Programming and Scripting
Hi I have below requirements on the script below :
(1) I receive 2 pipe seperated file called OUT.psv and DIFF.psv with a column header.I concatenate the 2 files and create a final.psv file. I want to add another header as START_FILE to the final.psv file . How to achieve this ?
(2) I have... (5 Replies)
Discussion started by: samrat dutta
5 Replies
LEARN ABOUT DEBIAN
lilypond-book
LILYPOND-BOOK(1) User Commands LILYPOND-BOOK(1)
NAME
lilypond-book - manual page for lilypond-book 2.14.2
SYNOPSIS
lilypond-book [OPTION]... FILE
DESCRIPTION
Process LilyPond snippets in hybrid HTML, LaTeX, texinfo or DocBook document.
OPTIONS
-F, --filter=FILTER
pipe snippets through FILTER [default: `convert-ly -n -']
-f, --format=FORMAT
use output format FORMAT (texi [default], texi-html, latex, html, docbook)
-h, --help
show this help and exit
-I, --include=DIR
add DIR to include path
--info-images-dir=DIR
format Texinfo output so that Info will look for images of music in DIR
--left-padding=PAD
pad left side of music to align music inspite of uneven bar numbers (in mm)
--lily-output-dir=DIR
write lily-XXX files to DIR, link into --output dir
--load-custom-package=PACKAGE
Load the additional python PACKAGE (containing e.g. a custom output format)
-o, --output=DIR
write output to DIR
-P, --process=COMMAND
process ly_files using COMMAND FILE...
-s, --safe
Compile snippets in safe mode
--skip-lily-check
do not fail if no lilypond output is found
--skip-png-check
do not fail if no PNG images are found for EPS files
--use-source-file-names
write snippet output files with the same base name as their source file
-V, --verbose
be verbose
--version
show version number and exit
-w, --warranty
show warranty and copyright
Options only for the latex and texinfo backends:
--latex-program=PROG
run executable PROG instead of latex, or in case --pdf option is set instead of pdflatex
--pdf create PDF files for use with PDFTeX
EXAMPLES
$ lilypond-book --filter="tr '[a-z]' '[A-Z]'" BOOK
$ lilypond-book -F "convert-ly --no-version --from=2.0.0 -" BOOK
$ lilypond-book --process='lilypond -I include' BOOK
REPORTING BUGS
Report bugs via http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
SEE ALSO
The full documentation for lilypond-book is maintained as a Texinfo manual. If the info and lilypond-book programs are properly installed
at your site, the command
info lilypond-book
should give you access to the complete manual.
lilypond-book 2.14.2 February 2013 LILYPOND-BOOK(1)