UNIX-sed sed 2.0 / 5 based on 1 rating ? ComputingAll LevelsAll boards Created by: Samantha BinghamCreated on: 26-05-09 11:46 What does setting the final flag to n (a number) in a substition command in sed do? Replaces the nth occurence of the pattern 1 of 4 What does setting the final flag to p in a substition command in sed do? Prints the pattern space to stdout if the substitution is a success 2 of 4 What does setting the final flag to w in a substition command in sed do? Prints the pattern space to the file specified in the format outputFile inputFile 3 of 4 What does the -f command do Tells the shell you are about to give it multiple sed script files 4 of 4
Comments
No comments have yet been made