From: erik quanstrom <quanstro@coraid.com>
To: steve@quintile.net, 9fans@cse.psu.edu
Subject: Re: [9fans] silly rc quoting question
Date: Mon, 18 Dec 2006 07:30:46 -0500 [thread overview]
Message-ID: <6aa931133474a170f86e9a21a83d36d2@coraid.com> (raw)
Well, Don't Do That, Then. ☺
this awk script will do what you want
ls -l|awk '{print substr($0, 38+length($4)+length($5));}'
it's slightly annoying, but unavoidable that ls -l's user and group
fields are dynamicly sized.
- erik
next reply other threads:[~2006-12-18 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-18 12:30 erik quanstrom [this message]
2006-12-18 15:23 ` Russ Cox
-- strict thread matches above, loose matches on Subject: below --
2006-12-18 12:05 erik quanstrom
2006-12-18 11:33 Steve Simon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6aa931133474a170f86e9a21a83d36d2@coraid.com \
--to=quanstro@coraid.com \
--cc=9fans@cse.psu.edu \
--cc=steve@quintile.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).