03-18-2015
A flat file is just what it is (generally speaking)... it's text. I you don't plan to use a text editor to view the file, then perhaps what you need to output is something like HTML instead (?). That way you have some markup control than can be interpreted by the end device. If you wan to go totally old school though there is also nroff/troff. Basically the format that raw "man pages" are in. Yep... it's old, but still used.... and in some ways, can be better than something like HTML just because of the number of end device handlers out there (including ones for taking the format to HTML).
Does that make sense? Things like "bold" are terminal (viewing or output device) specific.
---------- Post updated at 09:42 AM ---------- Previous update was at 09:38 AM ----------
Quote:
Just got up, but if you tell this one to use ncurses so he has bold for his scripts.. you could use TUI as well.
Though, its 'termcap' too, isnt it?
Well... because ncurses support both dbs... technically they'll tell you that you must call it a "termcap" package. But it does both. I only mentioned it because the FreeBSD mailling lists indicated that it's one way to get a terminfo db on FreeBSD.
10 More Discussions You Might Find Interesting
1. Programming
I made a liitle source about that..
BUt I got a trouble when making files'authority..
How can I display them??
p.s.) used struct stat .. (1 Reply)
Discussion started by: sangjinn
1 Replies
2. Shell Programming and Scripting
We have some unseen chars in unix, like '^T's, can be seen with 'cat -v' command.
Is there any way, with which, we can replace these ^T s with a space? (1 Reply)
Discussion started by: videsh77
1 Replies
3. UNIX for Dummies Questions & Answers
pls disregard got my question answered . as you can't do bold in vi (0 Replies)
Discussion started by: xzyan
0 Replies
4. UNIX for Dummies Questions & Answers
Folks;
I'm writing this as a part of a script:
echo "col1 hdg|col2hdg|col3hdg|"
How can i make these fields shows in Bold text? (10 Replies)
Discussion started by: moe2266
10 Replies
5. Shell Programming and Scripting
I was using the following bash command inside the emacs compile command to search C++ source code:
grep -inr --include='*.h' --include='*.cpp' '"' * | sed "/include/d" | sed "/_T/d" | sed '/^ *\/\//d' | sed '/extern/d'
Emacs will then position me in the correct file and at the correct line... (0 Replies)
Discussion started by: siegfried
0 Replies
6. Programming
I need tutorial on Make utility on Unix.
Any help or link appreciated.
many thanks
Mirko (3 Replies)
Discussion started by: mmipko
3 Replies
7. Shell Programming and Scripting
I know this should be simple, but I've been manning sed awk grep and find and am stupidly stumped :(
I'm trying to use sed (or awk, find, etc) to find 4 characters on the second line of a file.txt 44-47 characters in. I can find lots of sed things for lines, but not characters. (4 Replies)
Discussion started by: unclecameron
4 Replies
8. Shell Programming and Scripting
Is there any way to redirect characters in bold to .csv file using KSH. I need to open this csv in MS EXCEL.
thanks (4 Replies)
Discussion started by: param_it
4 Replies
9. Shell Programming and Scripting
Hi ,
Could you please guide me how to remove formatting (bold text) in a unix file?
vi editor showing like this...
^
Cat command showing like this...
tl21ss01
tl21ss02
tl21ss03 (6 Replies)
Discussion started by: suresh3566
6 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
I have a file a1.txt with data as follows.
dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><!
The delimiter string: <SelectStatement modified='1' type='string'><!
dlm="<SelectStatement modified='1' type='string'><!
The above command is... (7 Replies)
Discussion started by: kmanivan82
7 Replies