From: | Hans-Werner Hilse <hilse@×××.de> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] OT: awk scripting | ||
Date: | Fri, 24 Mar 2006 16:56:07 | ||
Message-Id: | 20060324170154.5b2d092c.hilse@web.de | ||
In Reply to: | Re: [gentoo-user] OT: awk scripting by "Boyd Stephen Smith Jr." |
1 | Hi, |
2 | |
3 | On Fri, 24 Mar 2006 08:49:22 -0600 "Boyd Stephen Smith Jr." |
4 | <bss03@××××××××××.net> wrote: |
5 | |
6 | > On Friday 24 March 2006 07:34, Sascha Lucas |
7 | > <sascha.lucas@×××××××××××××××××.de> wrote about '[gentoo-user] OT: |
8 | > awk scripting': |
9 | > > I want the awk analogon for "cut -f2-", which prints fields #2 to |
10 | > > #n. Is this possible? |
11 | > |
12 | > I think: |
13 | > awk '{shift; shift; print $0}' |
14 | |
15 | Sad, but true: There's no "shift" in awk. |
16 | |
17 | -hwh |
18 | -- |
19 | gentoo-user@g.o mailing list |