10-18-2002
add comma
I have a file like this
101223345
23232344a
1312a3441
903821224
143434324
101223345
23232344a
1312a3441
I want to insert comma in 5 digit.
it should be like
10122,3345
23232,344a
how can I do this ?
thanks
Alice...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello
A small shell scripting help..
I have a file say with 5 lines of text (text file).
At the end of everyline I need to add a comma at the end of the file.
Thanks, ST2000 (4 Replies)
Discussion started by: ST2000
4 Replies
2. UNIX for Dummies Questions & Answers
Srr for being pain her
let say i have a data in a file like this
1@1000
2@2000
4@4000
5@7770
6@8998
7@80008
i am a newbie in Unix
i need to add a comma to integer using AWK function. for example, 1,000 or 80,008
how can i do that
ps. i'm using bash shell (1 Reply)
Discussion started by: Nutter
1 Replies
3. Shell Programming and Scripting
Hi all,
I have a list of IP addresses in a column in a text file name ipaddress.txt
192.168.0.1
192.168.0.2
192.168.0.5
192.168.0.4
192.168.0.5
I would like to convert ipaddress.txt to have the following thing :
192.168.0.1, 192.168.0.2, 192.168.0.3,192.168.0.4,192.168.0.5
I know... (4 Replies)
Discussion started by: oliv66
4 Replies
4. Shell Programming and Scripting
Hello there,
I have a comma separated csv , and all the text field is wrapped by double quote. Issue is some text field contain comma as well inside double quote. so it is difficult to process.
Input in the csv file is ,
1,234,"abc,12,gh","GH234TY",34
I need output like below,... (8 Replies)
Discussion started by: Uttam Maji
8 Replies
5. UNIX for Dummies Questions & Answers
Hi all
Requirement:
I need to generate a comma seperated file(.csv)
I have one functions which returns me some values in a array. Now i want to add comma after every value that gets stored in the array.
E.g:
arr=$var1","
Expected:
arr=abc,
arr=def,
.
.
likewise
thanks in advance... (4 Replies)
Discussion started by: Ganesh_more
4 Replies
6. Shell Programming and Scripting
Example data
Gi1/10
Gi1/12 xl32lytscb07
3/11 to nyc
3/12 41764 ecomm
3/13 hxcsxsa 2/1
3/14 ziim570-rsvd
3/15 xl3NDSADM
Po1 VPC trunk to xl3-i
Po2 ***DO NOT ENABLE**
Po13 *** VPC link to
Po101
Po102 xl3-2lyg1accsgh-fe... (7 Replies)
Discussion started by: sumguy
7 Replies
7. UNIX for Dummies Questions & Answers
Hi... I can't find my little red AWK book and it's been a long while since I've awk'd. But I need to take a CSV file and convert the first word of the fifth field to its own field by replacing a space with a comma.
This is for importing a spreadsheet of issues into JIRA...
Example:
a line... (9 Replies)
Discussion started by: Tawpie
9 Replies
8. Shell Programming and Scripting
Hi,
00000119EEEC3F25 feedoor 20171103
0000011A4F152077 feedard 20171024
00000191FA295F61 feedzipperhola 20171023
00000213C57BB856 feedriodapple 20171005
0000025F778EF9D5 joobakoolrk 20171004
I needed the result as:
"00000119EEEC3F25", "feedoor", ... (9 Replies)
Discussion started by: ashokvpp
9 Replies
9. Shell Programming and Scripting
Hi Experts,
Please support
I have below data in file in comma seperated, but 4th column is containing comma in between numbers, bcz of which when i tried to parse the file the column 6th value(5049641141) is being removed from the file and value(222.82) in column 5 becoming value of column6.
... (3 Replies)
Discussion started by: as7951
3 Replies
10. Shell Programming and Scripting
Hi,
I've got this output:
# cat test2.txt
TM1ITP1-TMNLSTP1 SLC00=0,SLC01=0,SLC02=0,SLC03=0
if I just use cat test2.txt | tr "," "\n" I'll end up very near to what I'm trying to achieve:
TM1ITP1-TMNLSTP1 SLC00=0
SLC01=0
SLC02=0
SLC03=0
But how can i eventually add the term... (1 Reply)
Discussion started by: nms
1 Replies
LEARN ABOUT DEBIAN
xsystem35
XSYSTEM35(6) xsystem35 User Manual XSYSTEM35(6)
NAME
xsystem35 - program to play System 3.5 games
SYNOPSIS
xsystem35 [OPTIONS]
DESCRIPTION
This manual page documents briefly the xsystem35 command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
xsystem35 is a program to run System 3.5 games. Known games are:
o Kichikuou Rance
o Ikenai Katsumi Sensei
o Rance IV for WIN
o Tshin Toshi 2 for WIN
o Kaerunyo Panyon
o Ikusamiko
o Ningengari (in Alice no Yakata 456)
o Type Zero (in Alice no Yakata 456)
o ATLACH=NACHA (in Alice no Yakata 456)
o DALK (in Alice no Yakata 456)
o Tshin Toshi (in Alice no Yakata 456)
o Dr. Stop! (in Alice no Yakata 456)
o Rance I (in Alice no Yakata 456)
o Rance II (in Alice no Yakata 456)
o Rance III (in Alice no Yakata 456)
o
o DiaboLiQuE
o AmbivalenZ for Win95
o Pastel Chime
o Prostudent GOOD
o Mamorigami-sama
o Mamatoto
o Hushaby Baby
o DARCROWS
o Persiom
o
o SeeIN Ao
o D.P.S.? (in 20 seiki Alice)
o (in 20 seiki Alice)
o Only You - Re cross
o Lv1.5
o Daiakuji (Not opening)
o (Not opening)
OPTIONS
The program start with the following options starting with one dash (`-'). A summary of options is included below.
-gamefile file
set game resouce file to 'file'
-no-shm
don't use MIT-SHM (use in another display)
-devcd device
set cdrom device name to 'device'
-devmidi device
set midi device name to 'device'
-devdsp device
set audio device name to 'device'
/dev/dsp : oss type (device name)
-O?
select output audio device
-Oo
OSS mode
-Os
ALSA mode
-Oe
Enlightened Sound Daemon mode
-O0
Disable Audio output
-M?
select output midi methods
-Me
External midi player
-Mr
Raw Midi device
-Ms?
Sequenceer device (?:devicenumber)
-M0
Disable MIDI output
-midiplayer cmd
set external midi player to 'cmd'
-devmix device
set mixer device name to 'device' (effective only for oss)
-devjoy device
set joystick device name to 'device'
if 'device' is set to 'none', don't use the device
-savekanji #
kanji code of filename (0 or 1 ... 0:euc, 1:sjis)
-antialias
always draw antialiased string (for !256 colors game)
-noantialias
never use antialiased string (for !256 colors game)
-fullscreen
start with fullscreen
-noimagecursor
disable image cursor
-version
Show version of program.
-h, --help
Show summary of options.
FILES
${HOME}/.xsys35rc
The per-user configuration file to control the behaviour of xsystem35.
AUTHOR
Ying-Chun Liu <paulliu@debian.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2010 Ying-Chun Liu (PaulLiu)
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
xsystem35 11/20/2011 XSYSTEM35(6)