Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. shaoji

    email virus

    Thank you Ed and Wishdiak both for your help. Shaoji
  2. shaoji

    email virus

    Hi, I have two questions. First how to change font size in IE? Second, I am using outlook. Everyday i click send/receive, I got some email with "Delivery(my email address)...." with size 2k or 3k and an attachment, and mcafee virusscan will give the message saying that there is a virus. I use...
  3. shaoji

    describe table

    Dieter, Thank you very much for your help. Shaoji
  4. shaoji

    describe table

    Hi, A basic question: what command should I use look the elements and their format in a table? what command should i use to check what tables there are in a database? Thanks. Shaoji
  5. shaoji

    variable contains variable

    Thanks PH, it helps.
  6. shaoji

    variable contains variable

    How could I put a variable as part of a variable? I know I can do this: for i in a b c; do eval a$i=foo$i done echo $aa $ab $ac It will print out fooa foob fooc. But how could I get it using variable? I cannot use echo $a$i or p=\$a$i echo $p any idea? Thanks.
  7. shaoji

    awk comparison

    Also thanks to Vgor. You are correct and helpful. In awk, it can happen as follows: 7 8 10 10d 2 3 7 Shaoji
  8. shaoji

    awk comparison

    Thanks Vlad. You are right. I think the awk's comparison is the following: If both are numbers, it compares as numbers (not as in "sort" command), so 10>2. If at least one of them is a string, then it comapre as strings (as in "sort" commmand.) so 16d>100. It can explain 2>16d>100>5. The...
  9. shaoji

    awk comparison

    Thanks Vlad, I know how to solve this problem. I just don't know how the awk makes comparison. The first example shows, in awk 2>16d>10>2, how could this happen? The second example, why awk treats 16d and 60d differently? Thanks again. Shaoji
  10. shaoji

    awk comparison

    Hi, I have a file as follows: 2| 10| 11| 12| 13| 14| 15| 16d| 2| 3| 31d|| 4| 5| 6| 60d| 7| 8| 9| if I run: awk 'BEGIN{FS=OFS="|"}{if ($1>a ) {print $1 }; a=$1}' ss I get 2 10 11 12 13 14 15 16d 2 3 So it means 2>16d>15>,,,>10>2. and if I run awk 'BEGIN{FS=OFS="|"}{if ($1>=1 &&...

Part and Inventory Search

Back
Top