gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Pipes?


From: David Snopek
Subject: Re: [Gnu-arch-users] Pipes?
Date: Wed, 17 Mar 2004 14:42:12 -0600 (CST)
User-agent: SquirrelMail/1.5.0

Pierce T.Wetter III said:
>   Well, nothing I suppose, except when I tried that just now, it didn't
> work for me:
>
> [tibook:~/Documents/h2omt/tlawebsite] pierce% tla tree-lint -m
> _vti_cnf/.arch-ids/horizontal\\(sp)line2.gif.id
> _vti_cnf/.arch-ids/sticky\\(sp)rat\\(sp)issue\\(sp)button.gif.id
> dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)contest.html.id
> dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)order.html.id
> dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)hardware.html.id
> dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)software.html.id
> importedweb/.arch-ids/horizontal\\(sp)line2.gif.id
> importedweb/.arch-ids/sticky\\(sp)rat\\(sp)issue\\(sp)button.gif.id
>
> [tibook:~/Documents/h2omt/tlawebsite] pierce% tla tree-lint -m | xargs
> tla delete
> attempt to remove non-existent id for
> _vti_cnf/.arch-ids/horizontal\(sp)line2.gif.id
>
> [tibook:~/Documents/h2omt/tlawebsite] pierce% tla tree-lint -m
> --unescaped | xargs tla delete
> attempt to remove non-existent id for
> _vti_cnf/.arch-ids/horizontal\(sp)line2.gif.id

For filenames with spaces, this works really well:

tla tree-lint -m --unescaped | while read line; do tla delete "$line" ; done

This delimits arguments by newline instead of spaces which seems to be
your problem, or no?

Thank you.
  -- David Snopek

Satellite Computing Solutions, LLC




reply via email to

[Prev in Thread] Current Thread [Next in Thread]