Skip to content

Awk search command is not working #21

@saurabhgayali

Description

@saurabhgayali

Print each line where the 5th field is equal to ‘abc123’:

awk '$5 == "abc123"' file.txt
It doesnt work

WHile following command works confirming that data is present in file

Print each line where the 5th field is equal to ‘abc123’:
awk '/abc123/' file.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions