Hi,
Can some1 help me to output a tab in an echo statement.
I have tried
echo "RNC: \t NODEB"
but dont get the correct output.
I am a beginnger to unix, so pls hold back the laughs....if u can (5 Replies)
i want to format the file with tab delimitaed and assign heading to each column .
my format of file is
7 aiss 10
8 linux 25
9 linux_10for 35
Ouput i want like this
Ver Host Fails
7 aiss 10
8 linux 25
9 ... (5 Replies)
I have input like:
1234567890
cut -c1-3,6-7,9-10 input > output
Now I got 1236790.
I want to insert space between each cut. So the output like:
123 67 90
Can anybody help?
Thanks. (7 Replies)
Hi,
I'm using the following to insert lines into file:
sed ${rowNr}i'\
first row\
second row\
third row\
' file.txt
How can I add tab in front of each added line? "\t" or actual TAB does not seem to work?
Thanks! (2 Replies)
Hello,
Can someone help me to do this with awk or sed? I have a file with multiple lines, each line has many fields separated with a tab. I would like to add one more field holding 'na' in between the first and second fields.
old file looks like,
1, field1 field2 field3 ...
2, field1... (7 Replies)
Hello,
I have about 100 files in a directory with fields which are tab delimited. I would like to append the file name as the first field and it has to be done as many times as the total lines in the file.
For example,
myFile1.txt has the following data:
1 x y z
2 a b ... (5 Replies)
trying to insert a LF and 2 TABs for this:
sed 's/<td><\/td>/<td>\n\t\t<\/td>/' infile.
but, I'm not getting the syntax for inserting the LF and TABs correct (1 Reply)
Hi,
I have a String(words with tab space) in a file ->file1.txt
0xxxx 11 test $aa$ 8.43
when i read the file and assign to variable
value=$(cat file1.txt)
echo $value
i get the output without tab spaces.
0xxxx 11 test $aa$ 8.43
How to assign string... (2 Replies)
Hi all ,
I have a file having 12 columns tab delimited .
I need to read this file and remove the column 3 and column 4 and insert a word in column 3 as "AVIALABLE "
Is there a way to do this . I am trying like below
Thanks
DJ
cat $FILENAME|awk -F"\t" '{ print $1 "\t... (3 Replies)
Discussion started by: Hypesslearner
3 Replies
LEARN ABOUT OSF1
msgchk
msgchk(1) General Commands Manual msgchk(1)NAME
msgchk - check for messages (only available within the message handling system, mh)
SYNOPSIS
msgchk [-help] [-nodate] [-notify all | | | mail | | | nomail] [users ... ]
OPTIONS
Prints a list of the valid options for this command. Prints the date when you last read your mail. This is the default behavior of msgchk.
The -nodate option can be used of you do not want to print this date. Indicates under what circumstances msgchk should produce a message.
There are three legal values: all, mail, and nomail. The default is -notify all, which reports the status of the maildrop regardless of
whether it has mail in it or not. The -notify mail option reports the status of the maildrop only if there is mail waiting. The
-notify nomail option reports the status of the maildrop only if there is no mail in it. Specifies the source which are checked for mail.
The only value allowed is file, which is the user's maildrop. Additional values are supported only for use with other mail systems.
DESCRIPTION
The msgchk program checks all known mail drops for mail that is waiting for you. It displays whether you have mail waiting to be read or
not and shows the date that you last read your mail.
You can check other user's maildrops by specifying their user names as the users argument on the command line.
RESTRICTIONS
msgchk does not understand the $MAILDROP environmental variable. If mail is fetched from a location other than /usr/spool/mail/$USER,
msgchk will not be able to determine if new mail has arrived. However, inc can still be used to fetch mail when it arrives.
For this version, the -source option only supports the value file. Additional values are supported for use only with other mail systems.
EXAMPLES
This example shows a user Smith checking his own maildrop: % msgchk Smith:
New file source mail waiting ; last read on
Tue, 07 Jun 1988 17:21:49 WET The next example shows a user checking the maildrops of two other local users on the same system, Rabb
and Jones: % msgchk Rabb Jones Rabb:
No file-source mail waiting ; last read on
Tue, 07 Jun 1997 13:22:25 WET Jones:
New file source mail waiting ; last read on
Tue, 07 Jun 1997 17:30:05 WET
FILES
The user profile. The system customization file. The user's maildrop.
SEE ALSO inc(1)msgchk(1)