what-utils missing dependency
Bug #1583353 reported by
James Cameron
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
what-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
in what-utils-
on xenial, col2 is provided by package byobu.
on trusty, col2 is available in package bikeshed.
however, it would be simpler if col2 were replaced by an equivalant awk.
e.g.
{{{
--- /usr/bin/what-repo 2011-08-04 07:38:12.000000000 +1000
+++ /tmp/what-repo 2016-05-19 07:31:56.546446402 +1000
@@ -20,4 +20,4 @@
# along with this program. If not, see <http://
-apt-cache show "$1" | grep ^Filename: | head -n1 | col2 /
+apt-cache show "$1" | grep ^Filename: | head -n1 | awk -F / '{print $2}'
}}}
To post a comment you must log in.