Sponsored Content
Full Discussion: Replacing dot for comma
Top Forums Shell Programming and Scripting Replacing dot for comma Post 302283595 by ce9888 on Tuesday 3rd of February 2009 03:30:13 PM
Old 02-03-2009
Since . is a metacharacter you need to "escape" it with \

sed 's/\./,/' $NUM
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

replacing comma's with newlines using sed

Hi All, silly question that I'm sure is easy to answer for a more experienced coder... I have a file called test.txt containing the following text... need, to, break, this, line, into, individual, lines using sed, I'd like to make the file look like this... need to break this line... (5 Replies)
Discussion started by: newbie_coder
5 Replies

2. UNIX for Dummies Questions & Answers

Replacing Comma by Tab

Hi All, i have a file test.txt as shown below, 1,test,test111 2,rest,rest222 i want to replace the commas by tab delimiter.., it should be like, 1 test test111 2 rest rest222 i tried the following code, sed 's/,/\\t/g' test.txt >> ouptut.txt (9 Replies)
Discussion started by: Serious Sam
9 Replies

3. UNIX for Dummies Questions & Answers

Replacing underscore with white space after comma.

Hi all, I'm hoping you can help.. I've used this forum a couple of times and I am back again now i've moved onto something more complex (for me!) I have some data which looks like: "AL1_1,AL1_1," "AL1_1.AL1_1A.AL1_1AE,AL1_1AE," "AL1_1.AL1_1A.AL1_1AG,AL1_1AG," "AL1_1.AL1_1A.AL1_1AJ,AL1_1AJ,"... (10 Replies)
Discussion started by: gman
10 Replies

4. Shell Programming and Scripting

Suppressing space replacing by comma

hi i want to replace spaces by comma my file is ADD 16428 170 160 3 WNPG 204 941 No 204802 ADD 16428 170 160 3 WNPG 204 941 No 204803 ADD 16428 170 160 3 WNPG 204 941 No 204804 ADD... (9 Replies)
Discussion started by: raghavendra.cse
9 Replies

5. Shell Programming and Scripting

sed help - replacing 6th comma with a space

Hi, How can I replace the 6th comma on each line (of a csv) with a space? Any online tutorials with plenty of examples using sed would be very useful. Alex (2 Replies)
Discussion started by: mcclunyboy
2 Replies

6. UNIX for Advanced & Expert Users

Replacing the comma in .csv file in unix

Hi All, Could some one help me on one of my requirement below: I have a sequential file with 4fields in it and it is a comma (,) seperated file. Delimeter is 'comma'. But in of the file column for ex: 3rd column it is 'Description' (column name) I am getting the values with commas.... (6 Replies)
Discussion started by: eskay_s
6 Replies

7. Shell Programming and Scripting

Replacing comma with in double quotes in a csv file

Hello, I need to read a csv file and I am trying to replace a comma with a text DSEE?DSEE. Example Input "Chapter","NewTrains, "oldTrains","Delayed",10,"London" "Chapter","Newbuses,oldbuses","On Time",20,"London" Output "Chapter","NewTrainsDSEE?DSEE... (5 Replies)
Discussion started by: venkatvani
5 Replies

8. UNIX for Dummies Questions & Answers

Replacing | with a comma

I have a huge file which is pipe delimiter and i want to replace the pipe delimiter to a comma Please Help as its v urgent. Ex: parent|child|alias|....Heading of the file...and the data is of similar structure. (4 Replies)
Discussion started by: win4luv
4 Replies

9. Shell Programming and Scripting

Need help with Sed (replacing parenthesis and comma)

I have the following text as an input text: input.txt Results('Toilet', 'Sink', ) and i want to remove the last comma so the output is output.txt Results('Toilet', 'Sink' ) I tried using the following sed command, but I get a parsing error: sed s/, \)/\)/g input.txt >... (5 Replies)
Discussion started by: jl487
5 Replies

10. Shell Programming and Scripting

Substituting comma "," for dot "." in a specific column when comma"," is a delimiter

Hi, I'm dealing with an issue and losing a lot of hours figuring out how i would solve this. I have an input file which looks like this: ('BLABLA +200-GRS','Serviço ','TarifaçãoServiço','wap.bla.us.0000000121',2985,0,55,' de conversão em escada','Dia','Domingos') ('BLABLA +200-GRR','Serviço... (6 Replies)
Discussion started by: poliver
6 Replies
SSHMENU(1)						      General Commands Manual							SSHMENU(1)

NAME
sshmenu - GNOME applet for connecting to hosts using SSH. DESCRIPTION
The SSHMenu applet puts all your most frequently used SSH connections on a handy menu in your GNOME panel (see below for non-GNOME ver- sions. Click on a host name to open a new gnome-terminal window with an ssh connection to the selected host. Set up SSH options (such as port forwarding etc) and select a gnome terminal profile (for colour schemes, font sizes etc) using the preferences dialog. Add the applet to a GNOME panel in the normal way: right click on the panel, select 'Add to Panel' and then select the SSH Menu Applet from the list. Configure the applet using the 'Preferences' option on the applet menu. STANDALONE VERSIONS
The SSHMenu application uses the GTK GUI toolkit but is not dependent on the GNOME desktop environment. Two alternative wrapper scripts are provided: sshmenu-gnome - provides all the functionality of the SSHMenu applet but in a standalone application window that could (for example) be swallowed into the panel of an alternative desktop environment. sshmenu - provides similar functionality to sshmenu-gnome, but without any GNOME dependencies. Notably, xterm is used instead of gnome- terminal. The Hacker's Guide ( http://sshmenu.sourceforge.net/dev/hackers_guide.html ) describes a number of ways in which the SSHMenu can be further customised. OPTIONS
The applet is not invoked from the command-line however the standalone versions recognise the following options and can be extended to recognise more: -c FILE, --config-file FILE read and write config information to FILE instead of the default $HOME/.sshmenu -d NUM, --debug NUM set debug level to NUM (default: 0) -s NUM, --socket-window-id NUM use the XEmbed protocol to embed the SSHMenu user interface in the window identified by NUM instead of creating a new, top-level window, -V, --version output version information and exit AUTHOR
sshmenu-applet was written by Grant McLean <grant@mclean.net.nz> July 4, 2006 SSHMENU(1)
All times are GMT -4. The time now is 04:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy