line=$(grep $1 $$.sqlpass)
echo $line | tr '[:upper:]' '[:lower:]' > $line
I believe line is a variable you have used.
better way you just assign it to variable. You are creating a file with > sign.
try
line=$(echo $line | tr '[:upper:]' '[:lower:]')
You do realize that when you change the content (upper to lower is changing content) you break the decompression algorithm: meaning you can no longer reliably decompress the file correctly - you get garbage.
Yes all the values are taken to line, i need to modify to lowercase of line, but if I modify set command giving diff results
I tried awk but throwing error
./secrdecode: line 23: unexpected EOF while looking for matching `''
./secrdecode: line 43: syntax error: unexpected end of file
Thanks
---------- Post updated at 09:36 AM ---------- Previous update was at 09:32 AM ----------
Hi Jim,
I tried to encode and change the details in the file, but its throwing error. Due to time constraint I am trying to change after saved to the variable line.