in reply to Re: how to write a perl one liner?
in thread how to write a perl one liner?

Seems like there is no -d option.I get the following output

OUTPUT:- Z:>xargs -d \n p4 delete < deletefiles.txt xargs: illegal option -- d Usage: xargs [-0prtx] [-e[eof-str]] [-i[replace-str]] [-l[max-lines]] [-n max-args] [-s max-chars] [-P max-procs] [--null] [--eof[=eo +f-str]] [--replace[=replace-str]] [--max-lines[=max-lines]] [--interact +ive] [--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-p +rocs] [--max-args=max-args] [--no-run-if-empty] [command [initial-arg +uments]]

Replies are listed 'Best First'.
Re^3: how to write a perl one liner?
by ikegami (Patriarch) on Mar 08, 2011 at 08:48 UTC
    No, seems like there's no -d option in yours.

    Also, that doesn't look like a bash prompt. If you're going to switch shell, you'll also have to convert the command for the new shell. Does your shell convert «\n» to a newline? Although I think -d would also accept the two character string as equivalent.