12-24-2011
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have a big verilog file with multiple modules. Each module begin with the code word 'module <module-name>(ports,...)'
and end with the
'endmodule' keyword.
Could you please suggest the best way to split each of these modules into multiple files?
Thank you for the help.
Example of... (7 Replies)
Discussion started by: return_user
7 Replies
2. Shell Programming and Scripting
hi Guys
i need some help here..
i have a file which has > 800,000 lines in it. I need to split this file into smaller files with 25000 lines each.
please help
thanks (1 Reply)
Discussion started by: sitaldip
1 Replies
3. Shell Programming and Scripting
Hi,
I have a big text file with m columns and n rows. The format is like:
STF123450001000200030004STF123450005000600070008STF123450009001000110012
STF234560345002208330154STF234590705620600070080STF234567804094562357688
STF356780001000200030004STF356780005000600070080STF356780800094562657687... (2 Replies)
Discussion started by: wintersnow2011
2 Replies
4. Shell Programming and Scripting
KSH
HP-SOL-Lin
Cannot use xAWK
I have several strings that are quite long and i want to break them down into smaller substrings.
What I have
String = "word1 word2 word3 word4 .....wordx"
What I want
String1="word1 word2"
String2="word 3 word4"
String3="word4 word5"
Stringx="wordx... (5 Replies)
Discussion started by: nitrobass24
5 Replies
5. Shell Programming and Scripting
Help needed urgently please.
I have a large file - a few hundred thousand lines.
Sample
CP START ACCOUNT
1234556
name 1
CP END ACCOUNT
CP START ACCOUNT
2224444
name 1
CP END ACCOUNT
CP START ACCOUNT
333344444
name 1
CP END ACCOUNT
I need to split this file each time "CP START... (7 Replies)
Discussion started by: frustrated1
7 Replies
6. UNIX for Dummies Questions & Answers
hi ,
I have a requirement
input file:
1 1111111111111 108
1 1111111111111 109
1 1111111111111 109
1 1111111111111 110
1 1111111111111 111
1 1111111111111 111
1 1111111111111 111
1 1111111111111 112
1 1111111111111 112
1 1111111111111 112
The output should be, (19 Replies)
Discussion started by: mechvijays
19 Replies
7. UNIX for Dummies Questions & Answers
input file:
AD,00,--,---,---,---,---,---,---,--,--,---
AM,000,---,---,---,---,---,---
AR, ,---,--,---,---
AA,---,---,---,---
AT,---
AU,---,---,---
AS,---,---
AP,---,---,---
AI,---
AD,00,---,---,---, ,---,---,---,---,---,---
AM,000,---,---,---
AR,... (6 Replies)
Discussion started by: kcdg859
6 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have one large files of 100000 rows with header column.
Eg:
Emp Code, Emp Name
101,xxx
102,YYY
103,zzz
...
...
I want to split the files into smaller files with only 30000 rows each..File 1,2 and 3 must have 30000 rows and file 4 must contain 10000 rows.
But the column... (1 Reply)
Discussion started by: Nivas
1 Replies
9. UNIX for Beginners Questions & Answers
Dears,
Need you help with the below file manipulation. I want to split the file into 8 smaller files but without cutting/disturbing the entries (meaning every small file should start with a entry and end with an empty line). It will be helpful if you can provide a one liner command for this... (12 Replies)
Discussion started by: Kamesh G
12 Replies
BURN(1) Burn BURN(1)
NAME
burn - record from various sources to optical media (CD, DVD)
SYNOPSIS
burn MAIN_MODE [OPTIONS]... [FILE/S]...
burn --help
DESCRIPTION
CD-writing program/script. Features Data-CD, Audio-CD, Copy on the fly, Iso-CD.
CONFIGURATION
Configuration files for burn are: ~/.burnrc or /etc/burn.conf. You can edit them to change values.
If you don't have these files you can:
1. use burn-configure utility
2. take the configuration template, edit and copy it as ~/.burnrc or /etc/burn.conf
MAIN MODES
-D, --data-cd
To create Data-CD
-I, --iso-cd
To create ISO-CD
-C, --copy-cd
To copy CDs
-A, --audio-cd
To create an audio CD from WAV, MP3 and ogg files
EXAMPLES
# burn -D -p /etc/
Creates a CD with /etc/ contents. (you will find files and directories contained in /etc in CD's root.)
# burn -D -p /home/bigpaul/video/summer_2003/spain.tar.gz
Creates a CD with spain.tar.gz in CD's root
# burn -D -r /etc/
Creates a CD containing the whole /etc/ directory. (-r preserves path)
# burn -D -c /mail_2003 /home/bigpaul/Mail -p /boot/vmli*
Creates a CD containing the whole /home/bigpaul/Mail renamed into /mail_2003. (-c changes path name). This command also adds in CD's root
every vmli* file in /boot/ directory
# burn -I -n image.iso
Burns image.iso
# burn -C
Copy CDs (disk at once).
# burn -A -a *.wav
Creates an Audio CD. Tracks come from wav files
# burn -A -a *.mp3
Creates an Audio CD. Tracks come from mp3 files
# burn -A -a *.ogg
Creates an Audio CD. Tracks come from Ogg Vorbis files
# burn -A -a *.mp3 file.ogg track01.wav
Creates an Audio CD preserving input order. In this example the first audio tracks will come from mp3 files, than we will find the one from
file.ogg and finally the one from track01.wav
GENERAL OPTIONS
-s, --simulate
to perform a burn simulation
DATA-CD OPTIONS
-p, --path
add file/s or path's content to CD-ROM's root. e.g.: -p /cvs/myproj/. In this example we will find CD-ROM's root filled with
/cvs/myproj/ contents, but no /cvs/myproj/ will be created
-r, --preserve-path
add file/s or path's content to CD-ROM preserving original path. e.g.: -r /cvs/myproj/. In this example we will find /cvs/myproj/
in CD-ROM's root
-x, --exclude-path
every file or directory matching this string will not be included
-c, --change-path
old_path will be named new_path in CD-ROM. e.g.: -c /my_home/2004_Jan/ /home/bigpaul/. Thus /home/bigpaul/ will be named
/my_home/2004_Jan/ in CD-ROM.
-l, --follow-symlink
this option allows burn to follow symbolic link directories
-m, --multisession
this option allows multisession CDs
ISO-CD OPTIONS
-n, --name
image name
AUDIO-CD OPTIONS
-a, --audio-file
mp3, ogg or wav file/s
AUTHOR
Ben Finney <ben+python@benfinney.id.au>, Gaetano Paolone <bigpaul@hacknight.org>
COPYRIGHT
This is free software: you may copy, modify, and/or distribute this work under the terms of the GNU General Public License, version 2 or
later as published by the Free Software Foundation. No warranty expressed or implied. See the source for details.
2009-07-22 BURN(1)