From: Pavlov Konstantin <thresh@altlinux.ru> To: community@lists.altlinux.org Subject: Re: [Comm] find and xargs Date: Mon, 30 Mar 2009 23:39:02 +0400 Message-ID: <20090330193902.GA3651@snowwhite.immo> (raw) In-Reply-To: <49D11E42.4020606@mail.ru> [-- Attachment #1: Type: text/plain, Size: 818 bytes --] On Mon, Mar 30, 2009 at 11:32:18PM +0400, Vladimir Karpinsky wrote: > Здравствуйте! > > Насколько я понял man, для предотвращения нежелательных ситуаций с xargs, в > случае когда find ничего не находит, рекомендуется использовать -print0 в > find и -0 в xargs, но: > > find ./ -size -1k -print0 | xargs -0p ls -l > ls -l ?...n > > файлов меньше 1k в текущем каталоге нет, и ls -l получает на вход пустую > строку со всеми вытекающими. Вероятно, я что-то не понял --- наставьте на > путь истинный. А зачем -p в аргументах к xargs? -- > Почему не опубликовали стандартное решение для КДЕ > программ, которые таки ищут эти *.la? Стандартным решением было бы вынести проверку, скажем, в kdelibs-devel, чтобы каждый KDEшник не плодил этот код, который нужно исправлять. -- ldv in devel@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-03-30 19:39 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-03-30 19:32 Vladimir Karpinsky 2009-03-30 19:39 ` Pavlov Konstantin [this message] 2009-03-31 6:19 ` Vladimir Karpinsky 2009-03-31 6:23 ` Vladimir Karpinsky 2009-03-31 8:29 ` Konstantin S. Uvarin 2009-03-31 9:56 ` Vladimir Karpinsky
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=20090330193902.GA3651@snowwhite.immo \ --to=thresh@altlinux.ru \ --cc=community@lists.altlinux.org \ /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
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git