Md Jafor's locationShared with you on Google
Mapshttps://maps.app.goo.gl?link=https://www.google.com/maps/@/data%3D!4m5!7m4!1m2!1s111324023244013987696!2sChZlZGczRFVwb3FBMDYwSmpDYlpmWGxREggHBgGx7ZqBbQ%253D%253D!2e2&apn=com.google.android.apps.maps&amv=94900&ius=comgooglemapsurl&isi=585027354&
Md Jafor's locationShared with you on Google
Mapshttps://maps.app.goo.gl?link=https://www.google.com/maps/@/data%3D!4m5!7m4!1m2!1s111324023244013987696!2sChZxNXVnSG1yc3BqUVRDNWI5dlNyekZR!2e2&apn=com.google.android.apps.maps&amv=94900&ius=comgooglemapsurl&isi=585027354&ct=location-sharing-fdl&
Google
Md Jafor
Md Jafor
আমি আপনার সাথে একটি পার্কিং লোকেশন শেয়ার করেছি
Google Maps-এ দেখুন
Google
© 2018 Google LLC 1600 Amphitheatre Parkway, Mountain View, CA 94043
Md Jafor Google Maps-এর মাধ্যমে পাঠিয়েছেন
Google
Md Jafor
Md Jafor
আমি আপনার সাথে একটি পার্কিং লোকেশন শেয়ার করেছি
Google Maps-এ দেখুন
Google
© 2018 Google LLC 1600 Amphitheatre Parkway, Mountain View, CA 94043
Md Jafor Google Maps-এর মাধ্যমে পাঠিয়েছেন
Tags: wontfix
I consider re-posting of out-dated URLs is spam. Joey (upstream
author) made his point already years ago, I think it's time to close
this bug.
signature.asc
Description: PGP signature
On Mon, 28 Aug 2006 22:31:35 +0200 Erich Schubert wrote:
> Package: moreutils
> Version: 0.16
> Severity: wishlist
>
> Hi,
> Testing a directory to be empty in bash is hackish, see
>
http://wooledge.org/mywiki/BashFaq#head-6ec77504553115e8518271d0d319e27148634f19
>
> The cleanest way probably is
>
On Thu, 7 Sep 2006 20:43:26 -0400 Joey Hess wrote:
> I think that by generalising beyond dirempty to include exists, you're
> getting closer to a generic unix tool.
>
> I worry though that the tool might be test(1). These seem like fairly
> good candidates to add to test, especially dirempty.
>
>
On Mon, 28 Aug 2006 22:31:35 +0200 Erich Schubert wrote:
> Package: moreutils
> Version: 0.16
> Severity: wishlist
>
> Hi,
> Testing a directory to be empty in bash is hackish, see
>
http://wooledge.org/mywiki/BashFaq#head-6ec77504553115e8518271d0d319e27148634f19
>
> The cleanest way probably is
>
On Fri, 08 Sep 2006 03:20:02 +0200 Erich Schubert wrote:
> Hi Joey,
> > Hmm, and dirempty is just ! exists foo/* && ! exists foo/.* , right?
>
> Maybe "exists -d foo" would be nicer for this.
> In many applications, "exists 'foo/*'" would do the job okay enough (if
> you don't plan to rm the direc
On Fri, 08 Sep 2006 03:59:51 +0200 Erich Schubert wrote:
> Hi,
> > I worry though that the tool might be test(1). These seem like fairly
> > good candidates to add to test, especially dirempty.
>
> Definitely test should have had this functionality.
> However people will expect test to behave the
On Thu, 7 Sep 2006 20:45:27 -0400 Joey Hess wrote:
> Erich Schubert wrote:
> > A minute ago I didn't need "dirempty", but "exists 'foo/*.bar'"
> > test -e "foo" works fine if you have the filename. If you have wildcards
> > it gets a bit more complicated. IMHO it would be good to have a
> > conven
On Sat, 02 Sep 2006 03:55:33 +0200 Erich Schubert wrote:
> Hi,
> A minute ago I didn't need "dirempty", but "exists 'foo/*.bar'"
> test -e "foo" works fine if you have the filename. If you have wildcards
> it gets a bit more complicated. IMHO it would be good to have a
> convenience command for th
I think you can achieve this with a bash function:
exists() (
shopt -s nullglob dotglob; shopt -u failglob
a=($1); [[ ${a##*/} != . && ${a##*/} != .. && -e $a ]] && return
)
you'll use it with literal globs (like you do with "find -name" for
instance) eg:
if exists 'm
Package: moreutils
Version: 0.45
Followup-For: Bug #385069
Hi,
cause there didn't happen something to this topic for some years i just made a
beginning. :)
Greetings,
Michael
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (700, 'testing'),
Hi,
+1 for the inclusion of a dirempty command into moreutils.
Regards, Ax "The BTS is a voting system" el
--
,''`. | Axel Beckert , http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Hi,
> I worry though that the tool might be test(1). These seem like fairly
> good candidates to add to test, especially dirempty.
Definitely test should have had this functionality.
However people will expect test to behave the same on all systems, so
I'm not sure adding some non-POSIX extensions
Hi Joey,
> Hmm, and dirempty is just ! exists foo/* && ! exists foo/.* , right?
Maybe "exists -d foo" would be nicer for this.
In many applications, "exists 'foo/*'" would do the job okay enough (if
you don't plan to rm the directory)
best regards,
Erich Schubert
--
erich@(vitavonni.de|debi
Erich Schubert wrote:
> A minute ago I didn't need "dirempty", but "exists 'foo/*.bar'"
> test -e "foo" works fine if you have the filename. If you have wildcards
> it gets a bit more complicated. IMHO it would be good to have a
> convenience command for this instead of using some shell magic with
I think that by generalising beyond dirempty to include exists, you're
getting closer to a generic unix tool.
I worry though that the tool might be test(1). These seem like fairly
good candidates to add to test, especially dirempty.
--
see shy jo
signature.asc
Description: Digital signature
Hi,
A minute ago I didn't need "dirempty", but "exists 'foo/*.bar'"
test -e "foo" works fine if you have the filename. If you have wildcards
it gets a bit more complicated. IMHO it would be good to have a
convenience command for this instead of using some shell magic with test
and ls.
best regards
Package: moreutils
Version: 0.16
Severity: wishlist
Hi,
Testing a directory to be empty in bash is hackish, see
http://wooledge.org/mywiki/BashFaq#head-6ec77504553115e8518271d0d319e27148634f19
The cleanest way probably is
if [ -z "$(ls -A "$dir")" ]; then
fi
Maybe we should add a small utility w
23 matches
Mail list logo