05-19-2005
THANKS A LOT
Regards
vivek.s
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Freinds, :b:
i have a flat file with below format...
1234,Hary,102.55
4567,Maria,250.40
78942,suzan,261.60
48965,Harun,179.32
so I need a script that can get me as below format...
1) 1234,Hary,103
2) 4567,Maria,250
3) 78942,suzan,262
4) 48965,Harun,179
Which means, it... (6 Replies)
Discussion started by: malcomex999
6 Replies
2. Shell Programming and Scripting
Hi all, see i have a script that takes few arguments. first one is command we do on file, next is file (mostly txt file with lot of data) third is destination where we do something with data in file. Since im new in scripting, and im learning as i go, i need some hint how to manipulate that... (3 Replies)
Discussion started by: ajemrunner
3 Replies
3. Shell Programming and Scripting
OK, so if $0 represent the entire record... can I change $2 and will that be reflected back in $0?
I think the following answers that YES, it does work. But is there anything I should be thinking about prior to doing this? What I am actually doing is part of 5 pages of scripting and awk... (1 Reply)
Discussion started by: joeyg
1 Replies
4. Shell Programming and Scripting
I have a requirement like this:
I have modified versions of certain internal/external commands that I am putting into some directory say /mydir.
All the users will go an authentication check once they log in and based on the outcome there are two possibilities:
1. User passes... (12 Replies)
Discussion started by: ramesh_samane
12 Replies
5. UNIX for Dummies Questions & Answers
Hello Unix.com,
I have a text in format:
john
sara
lee
How can I make it:
john:john
john:john1
john:john12
john:john123
sara:sara
sara:sara12
sara:sara123 and so on (2 Replies)
Discussion started by: galford
2 Replies
6. UNIX for Dummies Questions & Answers
Hello unix.com users,
I have a ip file (line-by-line). How can I delete the ips that keep repeating by mark XXX.XXX.XXX.* ... I want to erase only the lines that keep repeating more than 2 times.
Example:
1.2.3.1
1.2.3.2
1.2.3.3
I want to erase all ips blocks that are repeating by C... (1 Reply)
Discussion started by: galford
1 Replies
7. UNIX for Dummies Questions & Answers
I have a list of file names, such as below
n02-z30-dsr65-terr0.50-dc0.002-8x6drw-csq.msf
n02-z30-dsr65-terr0.50-dc0.006-8x6drw-csq.msf
n02-z30-dsr65-terr0.50-dc0.010-8x6drw-csq.msf
n02-z30-dsr65-terr0.50-dc0.004-8x6drw-csq.msf
n02-z30-dsr65-terr0.50-dc0.008-8x6drw-csq.msf
I want to... (11 Replies)
Discussion started by: kristinu
11 Replies
8. Shell Programming and Scripting
I want to do the next
"I don't want to go school
because I'm sick today."
I want to join these two line but only when the first line is not more than 20 characters
and ended whit nothing or a comma and the second line not more than 15.
The 20 and the 15 can be change in the script.
I know... (10 Replies)
Discussion started by: thailand
10 Replies
9. Shell Programming and Scripting
Hello
Could you help with small script:
How to split string X1 into 3 string
String X1 can have 1 or many strings
X1='A1:B1:C1:D1:A2:B2:C2:D2:A3:B3:C3:D3'
This is output which I want to have:
Z1='A1:B1:C1:D1'
Z2='A2:B2:C2:D2'
Z3='A3:B3:C3:D3' (5 Replies)
Discussion started by: vikus
5 Replies
10. Shell Programming and Scripting
Hi,
I want to update the file with a value at a particular position
$cat test.txt
COL1=TEST
COL2=
COL3=AADSDFSDFDSFDFDF
I want to update the file with a value for COL2.
After update, the file should be like this
$cat test.txt
COL1=TEST
COL2=1
COL3=AADSDFSDFDSFDFDF
here 1... (9 Replies)
Discussion started by: vedanta
9 Replies
LEARN ABOUT DEBIAN
vcd-info
VCD-INFO(1) User Commands VCD-INFO(1)
NAME
vcd-info - manual page for vcd-info 0.7.24
SYNOPSIS
vcd-info [OPTION...]
DESCRIPTION
-a, --access-mode=ACCESS
set CD-ROM access mode (IOCTL, READ_10, READ_CD)
-b, --bin-file[=FILE]
set "bin" CD-ROM disk image file as source
-c, --cue-file[=FILE]
set "cue" CD-ROM disk image file as source
-N, --nrg-file[=FILE]
set Nero CD-ROM disk image file as source
--toc-file[=FILE]
set "toc" CD-ROM disk image file as source
-i, --input[=FILE]
set source and determine if "bin" image or device
--no-ext-psd
ignore information in /EXT/PSD_X.VCD
--sector-2336
use 2336 byte sector mode for image file
-C, --cdrom-device[=DEVICE]
set CD-ROM device as source
-d, --debug=INT
Set debugging output to LEVEL
-t, --terse
same as --no-header --no-banner --no-delimiter
-B, --no-banner
do not show program banner header and RCS version string
-D, --no-delimiter
do not show delimiter lines around various sections of output
-H, --no-header
do not show section header titles
--show-entries=STRING
show specific entry of the ENTRIES section
-E, --show-entries-all
show ENTRIES section
-F, --show-filesystem
show filesystem info
--show-info=STRING
show specific entry of the INFO section
-I, --show-info-all
show INFO section
-L, --show-lot
show LOT section
-p, --show-psd
show PSD section(s)
-P, --show-pvd-all
show PVD section(s)
--show-pvd=STRING
show a specific entry of the Primary Volume Descriptor (PVD) section
-s, --show-scandata
show scan data
-X, --show-search
show search data
-S, --show-source
show source image filename and size
-T, --show-tracks
show tracks
-f, --show-format
show VCD format (VCD 1.1, VCD 2.0, SVCD, ...)
-q, --quiet
show only critical messages
-V, --version
display version and copyright information and exit
Help options:
-?, --help
Show this help message
--usage
Display brief usage message
AUTHOR
Written by Herbert Valerio Riedel and Rocky Bernstein.
http://www.gnu.org/software/vcdimager/
COPYRIGHT
Copyright (C) 2000-2003 Herbert Valerio Riedel <hvr@gnu.org>
2003 Rocky Bernstein <rocky@panix.com>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
The full documentation for vcd-info is maintained as a Texinfo manual. If the info and vcd-info programs are properly installed at your
site, the command
info vcd-info
should give you access to the complete manual.
vcd-info 0.7.24 March 2011 VCD-INFO(1)