[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

OT: AWK



Hi,

I am sorry for this off topic, but I need help.

I am trying to get awk to display this line:

/home/acapone:

but I do not want it to display this:

drwx------   2 acapone  users        4096 Oct 12 08:23 temp

I would like awk to search for the pattern: / at the beginning of the line,
followed by any number of characters, followed by :

I am stuck and I am not sure how to do this. Also, if anyone has some good
links on the usages of awk, I would appreciate them. I have the book Unix in
a Nutshell by O'Reilly but it is not helping too much.

Thanks,

Anthony Capone





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]