Quote:
Originally Posted by
scrutinizerix
Moderator's Comments:
|
|
Thread moved. Please post your questions in the appropriate sub-forum. Thank you.
|
|
I'm sorry, I wasn't here for a very long time thus effectively mismemorizing many things and the forum's very abstract, disorganized cold interface confused me as to where did I find a relevant section to post to. Sorry, anyway.
---------- Post updated at 11:11 AM ---------- Previous update was at 11:02 AM ----------
Quote:
Originally Posted by
RudiC
A string in *nix is a sequence of (not necessarily printable) characters terminated by a null (0x00) character.
xargs usually collects lines read from stdin into one or more long (influenced by several options) parameter lists and executes the command / utility one or more times with the respective parameter list. With the -I option you can define where in that command execution the data from stdin show up. I'd recommend you do some exercises and testing with some innocuous commands and the -t (verbose) option.
1.But do these lines form a string?
2. The problem lies for me considering distinction between the notions "string", "line", "argument", "occurrence" as per the cited manual page.
From xargs manual:
Quote:
Any arguments specified on the command line are given to utility upon
each invocation, followed by some number of the arguments read from the
standard input of xargs
That saying what are the "strings as arguments" exactly? Is that like a list containing items? If yes what those items are? Are they lines?
If yes, are occurrences contained in these lines?
I'd like to construct in my mind a sort of "object model" for any of the terms.