1
0
mirror of https://github.com/ericchiang/pup synced 2024-11-28 02:48:16 +00:00

Quote possible shell wildcard

Because of this:
```
$ echo a[href*=boxscores]
a[href*=boxscores]
$ touch ah
$ echo a[href*=boxscores]
ah
```
This commit is contained in:
Peter van Dijk 2014-09-14 11:09:11 +02:00
parent c349ad6fa0
commit ae1a06e8ed

View File

@ -24,7 +24,7 @@ Ew, HTML. Let's run that through some pup selectors:
```bash ```bash
$ curl http://www.pro-football-reference.com/years/2013/games.htm | \ $ curl http://www.pro-football-reference.com/years/2013/games.htm | \
pup table#games a[href*=boxscores] attr{href} pup table#games 'a[href*=boxscores]' attr{href}
``` ```
## Basic Usage ## Basic Usage