9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
"Help Me" Need script for transferring bulk files from one format to text format in a unix server.
Please suggest (2 Replies)
Discussion started by: Kranthi Kumar
2 Replies
2. Shell Programming and Scripting
Hi Folks,
I have written a perl script that reads data from excel sheet(.xls) using Spreadsheet::ParseExcel module. But the problem is this module doesn't work for excel sheets with extension .xlsx.
I have gone through Spreadsheet::XLSX module with which we can read from .xlsx file directly.... (1 Reply)
Discussion started by: giridhar276
1 Replies
3. Shell Programming and Scripting
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies
4. Shell Programming and Scripting
Hi All,
I have created a Unix Shell script whch creates a *.csv file and export it to Excel.
The problem i am facing is that Users wants one of the AMOUNT field in comma separted values. Example :
if the Amount has the value as 3000000 User wants to be in 3,000,000 format.
This Amount format... (2 Replies)
Discussion started by: rawat_me01
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
6. UNIX for Dummies Questions & Answers
:confused: Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on... (9 Replies)
Discussion started by: rajreddy
9 Replies
7. UNIX for Advanced & Expert Users
:) Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on this.........Let me... (1 Reply)
Discussion started by: rajreddy
1 Replies
8. AIX
I was trying to copy a 2.5GB mksysb onto a 5.3 lpar to add as a NIM resource. The DVD mounted fine but I could not see any files within the mount point. I thought the media was bad so I tried again with a DVD-R disk but the same thing happened.
I decided to split the file up into 1024MB chunks... (0 Replies)
Discussion started by: backslash
0 Replies
9. Shell Programming and Scripting
hi,
for reading a cobol indexed file i need to convert "mmddyy" date format to "ccyyddd" format.
i checked the datecalc and other scripts but couldnt modify them to cater to my need:(...
The datecalc gives an output which i believe is the total days till that date, but i want to convert it... (2 Replies)
Discussion started by: Bhups
2 Replies
MMCFORMAT(8) BSD System Manager's Manual MMCFORMAT(8)
NAME
mmcformat -- format optical media
SYNOPSIS
mmcformat [-BDFGHhIMOpRrSsw] [-b blockingnr] [-c cert-num] special
DESCRIPTION
The mmcformat utility formats optical media conforming to the MMC standard. This includes CD, DVD, and Blu-Ray (BD) media.
The options are as follows:
-B Blank media when possible before formatting it.
-b blockingnr Explicitly select packet size in sectors (for CD-RW only). It is not recommended to change this from its default of 32.
-c cert-num Certify media for DVD-RAM / DV-RE. The argument cert-num specifies:
0 no certification
1 full certification
2 quick certification
-D Debug mode. Print all SCSI/ATAPI command errors.
-F Format media.
-G Grow last CD-RW/DVD-RW session.
-H Show help and print formatting choices for the inserted media.
-h Show help and print formatting choices for the inserted media.
-I Show help and print formatting choices for the inserted media.
-M Select MRW (Mount Rainier) error correcting background format.
-O Old style CD-RW formatting; recommended for CD-RW.
-p Explicitly set packet format.
-R Restart previously stopped MCD-MRW or DVD+RW background format.
-r Recompile defect list for DVD-RAM.
-S Grow spare space DVD-RAM / BD-RE.
-s Format DVD+MRW / BD-RE with extra spare space.
-w Wait until completion of background format.
NOTES
Due to the enormous varieties in optical media, mmcformat is made as generic as possible. This can result in confusion.
EXAMPLES
mmcformat -B -O /dev/rcd0d
Blanks and then formats a CD-RW disc using the ``old style'' format command. It is recommended to use this ``old style'' command unless your
drive reports that it's not supported; in that case, resort to the default -F. Note that a CD-RW disc can be reformatted without being
blanked. Blanking switches between sequential and fixed packet writing by erasing the disc. This can also help to revive old discs.
mmcformat -F -M /dev/rcd0d
Format a CD-RW or a DVD+RW to use MRW (Mount Rainier). This format tries to hide media flaws as much as possible by relocation.
SEE ALSO
scsictl(8)
HISTORY
The mmcformat command first appeared in NetBSD 5.0.
AUTHORS
Reinoud Zandijk <reinoud@NetBSD.org>
BUGS
mmcformat could be merged with scsictl(8) but that tool is very hard disk oriented.
BSD
May 9, 2008 BSD