06-13-2006
try q and enter or bye and enter. it may be an FTP command prompt or somthing along thoughs lines.
hush
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when I make ncftp 111.111.1.2
I just get problems like ...
/usr/lib/dld.sl unresolved symbol:inet_ntop (code)
does anybody know what is the problem and how to solve this?
thx.. (2 Replies)
Discussion started by: svennie
2 Replies
2. Programming
Hi@all,
I try to compile c code on hpux 11.11 pa-risc 2 with gcc (32bit). I compile with the option -g, so that I get the symbol table, but it is not available. Does someone knows something on this?
thx (2 Replies)
Discussion started by: Dom_Cyrus
2 Replies
3. Shell Programming and Scripting
I have a file with delimiter ";" and 2 columns for eg:
Transparent; ScotchPro™
If you see carefully you can see a special character "TM" at the end of data which is not showing up when I read the data in a regular sequential file. Did anyone anytime tackle this kind of Data. Please advice.... (1 Reply)
Discussion started by: ganesh123
1 Replies
4. Solaris
deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies
5. Shell Programming and Scripting
Hi,
test -d .ssh || mkdir .ssh && chmod 700 .ssh
The command has couple of symbols, could someone redirect me to the link, where i can understand their significance.
Thanks, John (1 Reply)
Discussion started by: john_prince
1 Replies
6. Shell Programming and Scripting
Hi,
I have the following directory:
/home/dragon/websphere/cells/profile/imp/001/
I want to put this in a shell script and get the values before and after cells by removing the '/'
Any idea how to make this possible?
Regards,
Dinesh (6 Replies)
Discussion started by: dbashyam
6 Replies
7. UNIX for Dummies Questions & Answers
Hi!
I need to know where is the caret symbol (^) on the keyboard. I press Shift+6 and does not appear!! Thank you very much.
Removed email address - all should benefit of an answer. (1 Reply)
Discussion started by: labultet
1 Replies
8. Programming
When I try to link a .so file I get the undefined symbol error. Though I have the library file in my system. The compile and linking commands used are as follows
g++ -m64 -g -Wall -I./include -c dxl_sample.c
g++ -o firstprogram -m64 -g -Wall -I./include -Bdynamic... (1 Reply)
Discussion started by: Ranadeep Ghosal
1 Replies
9. UNIX for Advanced & Expert Users
When I try to link a .so file I get the undefined symbol error. Though I have the library file in my system. The compile and linking commands used are as follows
g++ -m64 -g -Wall -I./include -c dxl_sample.c
g++ -o firstprogram -m64 -g -Wall -I./include -Bdynamic... (1 Reply)
Discussion started by: Ranadeep Ghosal
1 Replies
10. Shell Programming and Scripting
Hi All,
How do i represent £ symbol in unix and how to retain £ symbol in file.
Thanks in Advance (3 Replies)
Discussion started by: HemaV
3 Replies
fmt(1) General Commands Manual fmt(1)
NAME
fmt - Formats mail messages prior to sending
SYNOPSIS
fmt [-width] file...
DESCRIPTION
The fmt command reads the input file or files, or standard input if no files are specified, and writes to standard output a version of the
input with lines of a length as close as possible to width columns. (Because fmt is internationalized software, the number of display col-
umns is not necessarily equivalent to the number of bytes.)
The fmt command both joins and splits lines to achieve the desired width, but words are never joined or split; spaces are always preserved,
and lines are split at spaces only. In effect, fmt ignores newline characters in the input and wraps words to make lines a close as possi-
ble to width columns, resulting in individual lines of varying length but a consistent (new) text width overall. Because blank lines are
always preserved, fmt does not merge paragraphs separated by blank lines.
If you specify more than one file, the files are concatenated as input to fmt. If you do not specify -width, the default line length is 72
columns. Spacing at the beginning of input lines is always preserved in the output.
The fmt command is generally used to format mail messages to improve their appearance before they are sent. It may also be useful, how-
ever, for other simple formatting tasks. For example, when you are using vi, you can use the command :%!fmt -60 to reformat your text so
that all lines are approximately 60 columns long.
NOTES
The fmt command is a fast, simple formatting program. Standard text editing programs are more appropriate than fmt for complex formatting
operations. Do not use the fmt command if the message contains embedded messages or preformatted information from other files. This com-
mand formats the heading information in embedded messages and may change the format of preformatted information.
EXAMPLES
file1 contains these lines:
Australia is an island-continent, home to many very interesting plants and animals.
To reformat this text to a narrower width, enter: fmt -30 file1
This results in the following, displayed on your screen: Australia is an island-continent, home to many very interesting plants and
animals.
To make file1 wider, enter: fmt -60 file1
This results in: Australia is an island-continent, home to many very interesting plants and animals. To format a message you have
created with the mailx editor, at the left margin enter: ~|fmt
After you enter the command, your message is formatted, in this case to the default line length of 72 columns, and the word continue
is displayed to indicate that you can enter more information or send your message.
SEE ALSO
Commands: mail(1), mailx(1), vi(1)
fmt(1)