• 0 Posts
  • 848 Comments
Joined 2 years ago
cake
Cake day: July 9th, 2023

help-circle




  • Treczoks@lemmy.world
    cake
    tolinuxmemes@lemmy.worldSuperior ping
    link
    fedilink
    arrow-up
    17
    ·
    14 hours ago

    Yes, but you can write it in different ways. If the numeric string contains a dot, left of it must be between 0 and 255, and is put in the highest byte of the address. If the rest also contains a dot, repeat, but put it into the second highest byte.

    BUT: if the string does not contain a dot, the number is put into the remaining bytes.

    So 123.256 is a valid address. The 123 goes into the top byte, the 256 goes into the remaining three bytes, so the address would be 123.0.1.0.

    Most common example is 127.1, which is short for 127.0.0.1 - the localhost address.













  • This depends on what you are actually looking for, and how you are looking for it.

    Do you really need pattern matching, or do you only look for fixed strings? Then other tools may be faster.

    If you need case independent search on an upper- and lowercase data set, make a copy that is all upper or all lower, and search there.

    If you only search in certain columns, make a copy that only includes these.

    Or import the data into a database.