08-16-2011
Hi itkamaraj,
Big Thanks for your reply. One thing is happening here...
* Field 2 and 3 are not being displayed.
Any hint please ?
Regards.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
is there Any command to get total count and number of free inodes on a mount. please help (5 Replies)
Discussion started by: pharos467
5 Replies
2. Shell Programming and Scripting
I have a shell script that I am pulling different zip file packages and totaling how many of each type of package is in the directory. I get a bogus total count of one in the middle of my output file (highlighted in RED) and not sure why, also would like to get a grand total of all files but not... (2 Replies)
Discussion started by: freddie999
2 Replies
3. Shell Programming and Scripting
Hi Friends,
Need help regarding counting the word "friend" in files test1.txt and test2.txt. ( there is no gap/space between word )
cat test1.txt
himynameisrajandiamfriendofrajeshfriend
wouldyouliketobemyfriend.
cat test2.txt
himynameisdostandiamfriendofdostfriend... (2 Replies)
Discussion started by: forroughuse
2 Replies
4. Shell Programming and Scripting
I'm using awk to determine if a field starting in position 604 for length of 10 is not equal to ALL spaces. It's searching several files which are in the current directory.
The below awk indicates that there are 84 records on all files where this field IS NOT equal to ALL spaces ( there are 10... (2 Replies)
Discussion started by: mjf
2 Replies
5. Shell Programming and Scripting
i want to find the no:of occurrences of a word in a file
cat 1.txt
unix script unix script
unix script unix script unix script unix script
unix script unix script unix
unix
script
unix script unix script now i want to find , how many times 'unix' was occurred
please help me
thanks... (6 Replies)
Discussion started by: mahesh1987
6 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
When i give ls -ltr i get 'total 10' like this along with files long listing. is there any option in ls command to remove this line or do we need use head -1 command only.
$ls -ltr
total 45
-rw-r--r-- 1 abc g1 0 Jul 17 07:20 0
-rw-r--r-- 1 abc g1 744 May 9 12:10 a
-rw-r--r--... (1 Reply)
Discussion started by: HemaV
1 Replies
7. UNIX for Dummies Questions & Answers
Dear all,
I have a directory consisted of files in .jpg, .jpeg etc..all of them are image
20140411030143_62811159403_92886.jpg 5/11/2014 15:01 197K
20140415024737_62811618747_116460.jpg 4/15/2014 14:47 17K
20140415031003_62811618747_109192.jpg 4/17/2014 15:10 17K... (4 Replies)
Discussion started by: radius
4 Replies
8. Shell Programming and Scripting
I have list of file names in filename.txt
below is file format
>>File1
_________________________
01~12345~Y~YES~aaaaa~can
02~23456~N~NO~bbbbb~can
.
.
.
99~23__________________________
Need to find total count from each file depending on specific string and add them to have total count... (17 Replies)
Discussion started by: santoshdrkr
17 Replies
9. Shell Programming and Scripting
Hi all,
I have found another post threads talking about count duplicate lines, but I am interested in obtain the total number of duplicates. For example:
#file.txt
a1
a2
a1
a3
a1
a2
a4
a5
#out
3 (lines are duplicates)
Thank you! (12 Replies)
Discussion started by: mikloz
12 Replies
sbig5(5) File Formats Manual sbig5(5)
NAME
sbig5 - A character encoding system (codeset) for Traditional Chinese
DESCRIPTION
The Shift Big-5 (sbig5) codeset is a variant of the Big-5 codeset (see big5(5)). The only difference between these codesets is that the
second byte of some Big-5 characters are mapped to different values in the Shift Big-5 codeset. The remapping is done to avoid having some
metacharacters like *, which has special meaning to UNIX commands, in the second byte of a 2-byte Big-5 character.
The mappings of Big-5 characters to Shift Big-5 characters are as follows:
------------------------------------------------------------------------
Big-5 (2nd Character Symbol Shift Big-5 (2nd Character Symbol
byte) byte)
------------------------------------------------------------------------
40 @ 30 0
5B [ 31 1
5C 32 2
5D ] 33 3
5E ^ 34 4
5F - 35 5
60 ` 36 6
7B { 37 7
7C | 38 8
7D } 39 9
7E ~ 9F nil
------------------------------------------------------------------------
The sbig5 codeset is not supported by a locale but only through codeset conversion.
Codeset Conversion
The following codeset converter pairs are available for converting Traditional Chinese characters between sbig5 and other encoding formats.
Refer to iconv_intro(5) for an introduction to codeset conversion. For more information about the other codeset for which sbig5 is the
input or output, see the reference page specified in the list item. big5_sbig5, sbig5_big5
Converting from and to the Big-5 codeset: big5(5).
Note that Big-5 encoding is equivalent to the Microsoft code-page format used on PCs for Traditional Chinese. Therefore, you can use
these converters to convert Traditional Chinese between PC code-page format and Shift Big-5 encoding. eucTW_sbig5, sbig5_eucTW
Converting from and to Taiwanese Extended UNIX Code: eucTW(5).
SEE ALSO
Commands: locale(1)
Others: ascii(5), big5(5), Chinese(5), code_page(5), dechanyu(5), dechanzi(5), eucTW(5), GBK(5), i18n_intro(5), i18n_printing(5),
iconv_intro(5), l10n_intro(5), telecode(5)
sbig5(5)