Sponsored Content
Top Forums Shell Programming and Scripting output text in bold font using SED Post 302673543 by piynik on Wednesday 18th of July 2012 05:04:04 AM
Old 07-18-2012
Thanks for your reply.

Which program would you use to open the text file to see the effect? it seems if I open it in normal text editor like nedit or emacs you don't see any word formatting.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bold Text?

Hello, On the linux box I use at work, the directories are bold type to distinguish them. Is there a way to make certain words in a text file bold? Thanks! (4 Replies)
Discussion started by: Atama
4 Replies

2. UNIX for Dummies Questions & Answers

How to underline/bold and how to align output

Hi, I work with AIX 5 and have two basic questions: 1) How do I underline/bold a word in a text output? Any way to do it with echo command? basic example: echo "FOLDER " >> folder.txt ( I wish the word FOLDER to be underlined and bold). 2) Suppose I have the following pipe delimited... (1 Reply)
Discussion started by: clara
1 Replies

3. Programming

Bold text

hello, how do i display the text in the printf statement in bold. or is there anyway to display the text on the console in bold thx in advance svh (3 Replies)
Discussion started by: svh
3 Replies

4. Shell Programming and Scripting

how to make a line BLINKING in output and also how to increase font size in output

how to make a line BLINKING in output and also how to increase font size in output suppose in run a.sh script inside echo "hello world " i want that this should blink in the output and also the font size of hello world should be big .. could you please help me out in this (3 Replies)
Discussion started by: mail2sant
3 Replies

5. Shell Programming and Scripting

how can i bold a text

Dear i want to bold a text using shell script. please give sample.. Thanks rex (1 Reply)
Discussion started by: jrex1983
1 Replies

6. UNIX for Dummies Questions & Answers

Bold Text In Email

Hello, I email some info daily to my employees using a script. But they tend to overlook an important part so I wanted to bold that particular section. Everyone here uses outlook to receive their emails. I would like to know how to send an email to my employees with some parts in bold. (3 Replies)
Discussion started by: Amonkira
3 Replies

7. Shell Programming and Scripting

Change the font of text in output file in shell scipt

hi, I want to change the font of text in output file. :( I tried the below code code: if awk 'BEGIN{if('$RSS'>='1000')exit 0;exit 1}' then RED=`echo "\033 i can see colors in terminal but not in output file :wall: please help me how i can get colors text in output file. edit... (1 Reply)
Discussion started by: sreelu
1 Replies

8. Shell Programming and Scripting

[awk] Math & Bold-Font?

Heya There is a script which has presets stored in a tab-seperated file. That script also has $help_text, which will be shown when called with invalid arguments or -h. So i do need to have that file ready, so the help text can get the values out of the file, and print it with the $help_text.... (17 Replies)
Discussion started by: sea
17 Replies

9. Shell Programming and Scripting

Need way to grep the following output in bold

Hi guys, i am not able to work this out, i need to write a script to monitor the usage of IO DISK READ whenever the IO is above 600MB it will send an email. So far not able to. Hope you guys can assist me. Thanks! # iotop -bot --iter=3 |grep DISK|egrep -v TIME 05:22:04 Total DISK READ : ... (8 Replies)
Discussion started by: jaapar
8 Replies

10. What is on Your Mind?

Slowly Removing Bold Font Style - Step-by-Step

FYI, I'm slowly removing a lot of the bold font-styles from titles of discussions, forum titles, etc I'm not removing bold for the entire site because we do need bold from time to time, especially in posts and sometimes in other places. However, the original forum style had way too much... (3 Replies)
Discussion started by: Neo
3 Replies
NC(1)								NEdit documentation							     NC(1)

NAME
nedit-nc - Client program for NEdit text editor SYNOPSYS
nedit-nc [-read] [-create] [-line n | +n] [-do command] [-ask] [-noask] [-svrname name] [-svrcmd command] [-lm languagemode] [-geometry geometry | -g geometry] [-icon | -iconic] [-display [host]:server[.screen]] [-timeout seconds] [-wait] [-xrm resourcestring] [-tabbed] [-untabbed] [-group] [-V | -version] [-h | -help] [--] [file...] DESCRIPTION
nedit-nc is the client interface to the NEdit text editor. A server can be started explicitly by running NEdit in server mode: nedit -server If no server is running, nedit-nc will start one unless configured otherwise. Client/server mode is useful for integrating NEdit with software development environments, mailers, and other programs; or just as a quick way to open files from the shell command line without starting a new NEdit session. OPTIONS
-read Open the file read-only regardless of the actual file protection. -create Don't warn about file creation when a file doesn't exist. -line n, +n Go to line number n. -do command Execute an NEdit macro or action on the file following the -do argument on the command line. If you use this command without a filename, nedit-nc would randomly choose one window to focus and execute the macro in. -ask, -noask Instructs nedit-nc whether to automatically start a server if one is not available. This overrides the X resource `nc.autoStart'. -svrname name Explicitly instructs nedit-nc which server to connect to, an instance of nedit(1) with a corresponding -svrname argument. By naming servers, you can run several simultaneously, and direct files and commands specifically to any one. -svrcmd command The command which nedit-nc uses to start an NEdit server. It is also settable via the X resource `nc.serverCommand', by default, "nedit -server". -lm languagemode Initial language mode used for editing succeeding files. -geometry geometry, -g geometry The initial size and/or location of editor windows. The argument geometry has the form: [<width>x<height>][+|-][<xoffset>[+|-]<yoffset>] where `<width>' and `<height>' are the desired width and height of the window, and `<xoffset>' and `<yoffset>' are the distance from the edge of the screen to the window, + for top or left, - for bottom or right. -geometry can be specified for individual files on the command line. -icon, -iconic Initial window state for succeeding files. -display [host]:server[.screen] The name of the X server to use. host specifies the machine, server specifies the display server number, and screen specifies the screen number. host or screen can be omitted and default to the local machine, and screen 0. -timeout seconds Basic time-out period (in seconds) used in communication with an NEdit server. Default: 10 seconds. Also settable via the X resource `nc.timeOut'. Under rare conditions (such as a slow connection), it may be necessary to increase the time-out period. In most cases, the default is fine. -wait Instructs nedit-nc not to return to the shell until all files given are closed. Normally, nedit-nc returns once the files given in its command line are opened by the server. When this option is given, nedit-nc returns only after the last file given in this call is closed. Note that this option affects all files, not only the ones following this option in the command line. -xrm resourcestring Set the value of an X resource to override a default value. -tabbed Open all subsequent files in new tabs. Resets -group option. -untabbed Open all subsequent files in new windows. Resets -group option. -group Open all subsequent files as tabs in a new window. -V, -version Prints version and build information, to be mentioned when reporting bugs and problems. -h, -help Prints the command line help and then exits. -- Treats all subsequent arguments as file names, even if they start with a dash. This is so NEdit can access files that begin with the dash character. ENVIRONMENT
DISPLAY NEdit requires an X-based workstation or X-Terminal. If you have used telnet or rlogin to access the host Unix system, set the Unix environment variable for your display: % setenv DISPLAY devicename:0 NOTES
Communication between nedit-nc(1) and nedit(1) is through the X display. So as long as X windows is set up and working properly, nedit-nc will work properly as well. nedit-nc uses the `DISPLAY' environment variable, the machine name and your user name to find the appropriate server, meaning, if you have several machines sharing a common file system, nedit-nc will not be able to find a server that is running on a machine with a different host name, even though it may be perfectly appropriate for editing a given file. In typical Unix style, arguments affect the files which follow them on the command line, for example: incorrect: nedit-nc file.c -line 25 correct: nedit-nc -line 25 file.c For more information see NEdit's online help, or nedit.doc in the NEdit distribution kit. SEE ALSO
nedit(1), X(1), mwm(1), ctags(1), etags(1) AUTHORS
NEdit was written by Mark Edel, Joy Kyriakopulos, Christopher Conrad, Jim Clark, Arnulfo Zepeda-Navratil, Suresh Ravoor, Tony Balinski, Max Vohlken, Yunliang Yu, Donna Reid, Arne Forlie, Eddy De Greef, Steve LoBasso, Alexander Mai, Scott Tringali, Thorsten Haude, Steve Haehn, Andrew Hood, Nathaniel Gray, and TK Soh. COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception to the GNU GPL, the copyright holders give permission to link the code of this program with the Motif and Open Motif libraries (or with modified versions of these that use the same license), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than linking with Motif/Open Motif. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License in the Help section "Distribution Policy" for more details. NEdit 2009-10-06 NC(1)
All times are GMT -4. The time now is 11:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy