In linux, awk usually uses whitespace for delimitar by default, when processing a file, how can you change the delimitar? For example, if procssing /etc/passwd, that uses : as delimiter:
awk [...] '{print $1}' /etc/passwd
-F :
^^ note that the F here is short for FS (field seperator)
In linux, awk usually uses whitespace for delimitar by default, when processing a file, how can you change the delimitar? For example, if procssing /etc/passwd, that uses : as delimiter:
awk [...] '{print $1}' /etc/passwd
In linux, awk usually uses whitespace for delimitar by default, when processing a file, how can you change the delimitar? For example, if procssing /etc/passwd, that uses : as delimiter:
awk [...] '{print $1}' /etc/passwd
-F :
^^ note that the F here is short for FS (field seperator)
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |