i want to search desktop.ini that its content include a and dont include b:
desktop.ini content:<a !b>
i also want to search other file that its alternate-data-stream-ansi include a and dont include b:
alternate-data-stream-ansi:<a !b>
finally i combine them together:
<desktop.ini content:<a !b>> | < alternate-data-stream-ansi:<a !b> >
my question is how to reuse "<a !b>" ? that is write search fragment "<a !b>" once but twice ?
something like :
var=<a !b> < <desktop.ini content:$var> | <alternate-data-stream-ansi:$var> >
that is assigning search fragment to a variable , and refer the variable twice
thanks! thanks! thanks!