read reads line from standard input
DescriptionThe shell interpreter reads from the standard input line (up to the backslash "\"), except when the command is called with the "-r" parameter. arguments
var - name of an existing or non-existent shell variable Standard input
The standard input should be a text file Environment Variables
The following environment variables should affect the read operation: Example while read -r aa bb do printf "%s %s\n" "$aa" "$bb" done & lt; out_file
Displays a file in which the first field is moved to the end of a line.
wiki
Comments
Post a Comment