echo out put
Hi
I am new to Shell scripting.I have one specific requirement.I want to redirect echo ouput to a file. But I want to redirect with bigger font size than the default size of editor. Could anyone help me on this? Actually it is very urgent requirement.... |
what do you mean "bigger font size" there are no font sizes in shell AFAIK.
what are you trying to do? |
Quote:
https://www.linuxquestions.org/quest...t-size-695314/ |
wew that's interesting I didn't know. thanks anishakaul!
works in xterm. |
Quote:
I was myself not aware not such things, I searched Google and it brought me to that link. |
i mean if i give like this
echo "Hello welcome " > sample.txt it will re direct with default font size.... now i want to redirect with larger font size (customised) to the file.... |
Quote:
|
1. Plain ASCII text does NOT store fonts or font sizes, it is just a string of bytes (numbers), each number representing a certain character. The font size you see when viewing it is just the size set in your viewing program, it isn't stored in the file.
2. The terminal is NOT like a word processor: it is just a matrix of preset-sized, evenly-spaced cells, each of which can display a character. If you want bigger fonts, change the settings of your terminal. |
i want to use that echo statement in one of my shell script ... I want that particular text ( echo output) in required font size.
Thanks in Advance |
Quote:
We all told you, it's IMPOSSIBLE. On second thought, are you outputting to a plain text file or a word processor format? |
If you are still interested, it is possible to set the text color and even make it bold in the terminal by sending the terminal special codes. (but remember, the characters are represented as a fixed-cell-size grid, so it is physically impossible to change the size).
http://en.wikipedia.org/wiki/Ansi_escape_codes |
All times are GMT -5. The time now is 06:45 AM. |