UNIX-sed

sed

?
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

Other cards in this set

Card 2

Front

What does setting the final flag to p in a substition command in sed do?

Back

Prints the pattern space to stdout if the substitution is a success

Card 3

Front

What does setting the final flag to w in a substition command in sed do?

Back

Preview of the front of card 3

Card 4

Front

What does the -f command do

Back

Preview of the front of card 4

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »