Search Results

Search: Posts Made By: exchequer598
2,302
Posted By exchequer598
Parsing a complex log file
I have a log file that has many SQL statements/queries/blocks and their resultant output (success or failure) added to each of them. I need to pick up all the statements which caused errors and write...
2,449
Posted By exchequer598
:eek::(
:eek::(
2,449
Posted By exchequer598
Well, a couple of tar lines, for each nested TAR...
Well, a couple of tar lines, for each nested TAR file. Once everything is extracted, we run our script. Once it replaces everything, we put back everything into TARs.
2,449
Posted By exchequer598
I usually use UNIX or Linux. And bash is what we...
I usually use UNIX or Linux. And bash is what we use mostly. When we do this manually, we type

tar -xf tarfilename.tarto extract the TAR files, and then after running the script to search/replace,...
2,449
Posted By exchequer598
Recursively UNTARing and then TARing back
I've just finished writing a shell script that searches for a string recursively in all text files and replace them with another string. Now, all these files come from a location nested deep within...
5,379
Posted By exchequer598
Thanks for the reply! I get the following error...
Thanks for the reply! I get the following error when I use your piece of code.

./init.sh[4]: read: no query process

Also, I would not like to hardcode the IP address. It should be read from the...
5,379
Posted By exchequer598
Setting up environment variables
Hi all,
This is my first post here. I need to set up a few environment variables with a shell script. Some are hard-coded, but some should come from other commands or as input from the user. How do...
Showing results 1 to 7 of 7

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