Search Results

Search: Posts Made By: linuca
4,269
Posted By linuca
Thanks again! Sorry, silly me! The first...
Thanks again!

Sorry, silly me! The first time I run the script, I did it with a for loop (giving me the bad result) and after I changed the script, I forgot to remove the inserts.sql file, so the...
4,269
Posted By linuca
Thanks! It seems that I if I echo it to the...
Thanks!

It seems that I if I echo it to the screen it works, but when I save it in a file (>> inserts), it splits the lines by spaces.

Does this happen to you too?
4,269
Posted By linuca
escape space characters in loop from file
Hi Everyone!

I want to build sql inserts from a list of countries/regions saved in a file. The list looks like this:


United Kingdom
Czech Republic
...
The script I run is:


while read...
Showing results 1 to 3 of 3

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