Search Results

Search: Posts Made By: papis
3,225
Posted By Corona688
Good catch. what? #!/bin/sh #...
Good catch.

what?

#!/bin/sh

# Loop until we tell it to stop
while true
do
# Loop 5 times. Each loop reads and writes one line.
# We pipe it's output through sort,...
3,225
Posted By alister
Unless I misunderstood, that's one line too many....
Unless I misunderstood, that's one line too many.

Regards,
Alister
8,018
Posted By Corona688
There we go. Thanks. :) I'm assuming you...
There we go. Thanks. :)

I'm assuming you meant "yyyy;bbbb;cccc;ddddd;eeee" because its position wouldn't be 3 otherwise...

#!/bin/bash
STR="cccc"
LINE=1
while IFS=";" read -a ARR
do
...
Showing results 1 to 3 of 3

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