Search Results

Search: Posts Made By: sharp488
2,037
Posted By sharp488
i did a vi on the file its showing for file in...
i did a vi on the file its showing
for file in *.xml
do
echo "File name which is processing currently: " $file
awk '/<catetcsecuretty0>/ {p=1} /<catvarlogmessages0>/ {p=0} p' $file
...
2,037
Posted By sharp488
Its giving me error $ ./roottelnet.sh ...
Its giving me error
$ ./roottelnet.sh
./roottelnet.sh: line 2: syntax error near unexpected token `$'do\r''
'/roottelnet.sh: line 2: `do


Please use CODE tags for output data as well as...
2,037
Posted By sharp488
Shell Script with following awk command pls help
Hi

I want to create a shell script with the following awk command & also get the filenames in output.

awk '/<catetcsecuretty0>/ {p=1} /<catvarlogmessages0>/ {p=0} p' *.xml

As there will be...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy