Search Results

Search: Posts Made By: johndoe
10,461
Posted By johndoe
Hey, this is a quite simple solution. :b: I'm a...
Hey, this is a quite simple solution. :b:
I'm a little too cumbersome.
10,461
Posted By johndoe
Thanks to Franklin52 and Scrutinizer! :b: A...
Thanks to Franklin52 and Scrutinizer! :b:

A simple change from
for (( i=1;i<4;i++ )); do
to
for (( i=0;i<2;i++ )); do
solved this.

Where have my eyes been?
Thank you!

---------- Post...
10,461
Posted By johndoe
No, there seems nothing to be wrong with the...
No, there seems nothing to be wrong with the counter.
I use to count until <2 because it switches the array elements of the file1, file2 and file3 vars.
I use this array to pair the special text...
10,461
Posted By johndoe
Ambiguous redirect
Hello there,

I'm totally new in bash programming and ran into my first problem.

My script should generate 3 textfiles where the content of the first and the third row are the same in each file....
Showing results 1 to 4 of 4

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