Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Sed $ appending to front, not to the end Post 302416843 by thegeek on Wednesday 28th of April 2010 01:07:34 AM
Old 04-28-2010
Works for me...
Code:
cat > i
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900
sed '/^Fred/s/$/***/' i
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900***
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900***

 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Front end on Unix

Hi, I would like to develop a user interface on Solaris. Can anybody throw some light on currently available software utilities/ packages..? Thanks in Advance .. JS (4 Replies)
Discussion started by: shibz
4 Replies

2. Programming

Running exe's from front end

Hi, I have created a tool which analyses and debugs cobol programs on Unix environment usin the C files. I now want to create a frontend for the tool in windows. For this i need to establish some kinda communication between the front the end and the back end. I know pipes in one way of... (0 Replies)
Discussion started by: Sinbad
0 Replies

3. Shell Programming and Scripting

remove space in front or end of each field

Hi, I have a txt file called a.txt which contain over 10,000 records and I would like to remove space before comma or after comma....like below: The input (for example two record 00001,00002): 00001,client,card limited ,02292,N ,162:41 , 192, ... (6 Replies)
Discussion started by: happyv
6 Replies

4. Shell Programming and Scripting

Appending the last few columns to the front

Hi consider this as the first line 00010015 MORGAN STANLEY & CO INCORPORATED N 110 INVESTAR 1 0001OT NJ 201-830-5055 01-Jan-1974 00:00:00 1 01-May-2008 00:00:00 05-Jun-2008 13:34:18 0001 - From SMSRun1_GIDQA02 Consider this as the second line 00010015 MORGAN STANLEY... (3 Replies)
Discussion started by: ragavhere
3 Replies

5. UNIX for Dummies Questions & Answers

Communicate to the OS(linux) using front end.

Hi guys , I want to develop a web page which is capable of executing the command on os and show the output on the browser.(Which involves reading and writing too.) I m using jsp language to develop the web page. How would i use it to communicate with my linux server? Any... (3 Replies)
Discussion started by: pinga123
3 Replies

6. UNIX for Dummies Questions & Answers

Appending columns at the end of output using awk/sed

Hi , I have the below ouput, =====gopi===== assasassaa adsadsadsdsada asdsadsadasdsa sadasdsadsd =====kannan=== asdasdasd sadasddsaasd adasdd =====hbk=== asasasssa .... .. I want the output like as below, not able paste here correctly. (2 Replies)
Discussion started by: eeegopikannan
2 Replies

7. Programming

Publish notification via application front end

hi All I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark. Any suggestions ? (0 Replies)
Discussion started by: anil529
0 Replies

8. Programming

Recommendation: gede - graphical gdb front-end

gede is a graphical debugger, a front-end for good ole uncle gdb. gede doesn't need a specialized gdb version. :b: Unfortunately its a qt app, nevertheless it fits well in a gtk desktop environment.:eek: Its author Johan Henriksson is a smart and nice guy always open for bug reports and... (2 Replies)
Discussion started by: dodona
2 Replies
CUUM(1) 						      General Commands Manual							   CUUM(1)

NAME
cuum - To start the front-end processor. SYNOPSIS
cuum [-h/H] [-x/X] [-k uumkeyfile ] [-c convertkeyfile ] [-r rkfile ] [-D hostname ] [-n username ] [-l lines ] DEFAULT PATH
/usr/local/bin/cWnn4/cuum DESCRIPTION
There are two more input environments: (1) Pinyin centred input environment (2) Zhuyin centred input environment These two environments can be started up by using the "-r" option of the "cuum" command together with the default path of each input envi- ronment. For example, to activate Pinyin centred input environment, execute the following: cuum -r /usr/local/lib/wnn/zh_CN/rk_p Once "cuum" is executed, the initialization file for the front-end processor will be read from ONE of the following paths, in decreasing order: (1) The file specified by the UUMRC C-Shell environment variable. (2) @HOME/.uumrc (3) /usr/local/lib/wnn/zh_CN/uumrc (default path) After the initialization file is read, all the initializing operations set in the file will be performed. If the user happens to start up cuum after it has already been started, an error message will be given. Refer to cWnn manual for the error messages. OPTIONS
-H The input mode will be set to ON after the startup of cuum. -h The input mode will be set to OFF after the startup of cuum (default). -X During cuum startup, the flow control of tty is ON (default). -x During cuum startup, the flow control of tty is OFF. -k uumkeyfile Specify the keyboard definition file. If this option is not specified, ONE of the following definition files will be read by default, in decreasing order: (1) The filename indicated by "setuumkey" in the initialization file "uumrc". (2) /usr/local/lib/wnn/zh_CN/uumkey -c convertkeyfile Specify the conversion file for the keyboard input codes. If this option is not specified, ONE of the following files will be read by default, in decreasing order: (1) The filename indicated by "setconvkey" in the initialization file "uumrc" . (2) /usr/local/lib/wnn/cvt_key_tbl -r rkfile Specify the directory of the input mode definition file of the input automaton. If this option is not specified, ONE of the follow- ings will be read by default, in decreasing order: (1) The directory indicated by "setrkfile" in the initialization file "uumrc". (2) /usr/local/lib/wnn/zh_CN/rk -l lines Specify the number of lines for input at the front-end processor. (0 < lines < window_line-1). The maximum input line is the window line minus one. The default line number is 1. -D hostname Specify the server at another host indicated by hostname. In this case, each user environment may be set via "setenv" in the front-end processor initialization file, for example "uumrc". If no hostname is specified, the one specified by the environment variable CSERVER will be used. -n username Specify the username for the front-end processor. If the username is not specified, the value in environment variable UUMUSER will be taken as the default value. If UUMUSER is not defined, the username of the current front-end processor will be taken. NOTE
1. The command options inside [ ] shown in the Command Format indicates that they are optional. If they are not required, "cuum" alone is sufficient to start up the front-end processor. 2. During the startup of cuum, a "pty" is required from the operating system. If "pty" is unable to be obtained, cuum startup will fail. Similarly, if the initialization file, input automaton definition files and keyboard definition file cannot be read in, cuum startup will also fail. 13 May 1992 CUUM(1)
All times are GMT -4. The time now is 11:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy