Question: I'm using this code:

```
  numbzip=`ls *.plt.zip | wc -l` &>/dev/null

```

and trying to get rid of the output in the command window.

No files ending on .plt.zip exist so it comes back with:

```
ls: cannot access *.plt.zip: No such file or directory

```

whatever I try it always writes this line in the command window.

I tried:

```
numbzip=`ls *.plt.zip | wc -l` >/dev/null 2>/dev/null
numbzip=`ls *.plt.zip | wc -l` >/dev/null >>/dev/null 2>/dev/null

```

Regards, Wilco.

Answer: 
Use **`-d '\n'`** with your `xargs` command:

```
cat file | xargs -d '\n' -l1 mkdir

```

From manpage:

```
-d delim
              Input  items  are  terminated  by the specified character.  Quotes and backslash are not special; every
              character in the input is taken literally.  Disables the end-of-file string, which is treated like  any
              other  argument.   This can be used when the input consists of simply newline-separated items, although
              it is almost always better to design your program to use --null where this is possible.  The  specified
              delimiter  may be a single character, a C-style character escape such as \n, or an octal or hexadecimal
              escape code.  Octal and hexadecimal escape codes are understood as for the printf command.    Multibyte
              characters are not supported.

```

---

Example output:

```
$ ls
file

$ cat file
Long Name One (001)
Long Name Two (201)
Long Name Three (123)

$ cat file | xargs -d '\n' -l1 mkdir

$ ls -1
file
Long Name One (001)
Long Name Three (123)
Long Name Two (201)

```
You can do this POSIXLY with the `-I` option:

```
xargs -I % mkdir % < file

```

<http://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html>