```
redis-cli -s /data/redis/redis.sock --scan --pattern "*abcd|6128*" | xargs -L 100 redis-cli -s /data/redis/redis.sock DEL

```

above command is not deleting adta from redis and giving following output

```
(integer) 0

```

While the keys command works perfectly

```
 redis-cli -s /data/redis/redis.sock KEYS 'abcd|6291*' | xargs redis-cli -s /data/redis/redis.sock DEL;

```

Is there is something wrong i am doing