Search Results

Search: Posts Made By: starsky
3,345
Posted By starsky
many thanks for the quick replies
Thanks for those answers - will probably use awk, but will take a look how the others work as well. :b:
3,345
Posted By starsky
reading more than one variable into a for loop
Hi,

I have a file (details.txt) with 3 rows of variables ie...

name postcode age

john D fr25dd 25
mark W ab122aa 22
phil C cd343bb 33

What I want to do is read down the list with...
21,553
Posted By starsky
Thanks sysgate - that worked perfectly. :)
Thanks sysgate - that worked perfectly. :)
21,553
Posted By starsky
input from a file into an expect script ?
Hi,

I have an expect script that logs into a host (via ssh) requests the hostid then exits... I am happy with that.

However how can I run the same script in a kind of 'while read line' and...
5,693
Posted By starsky
vgersh99 I tried tinkering with the script you...
vgersh99 I tried tinkering with the script you gave me but still couldn't get it working - still struggle with basic scripting.

ghostdog74 - script worked a treat, I just wish I could understand...
5,693
Posted By starsky
thanks guys I will give these a try - your help...
thanks guys I will give these a try - your help is much appreciated
:b:
5,693
Posted By starsky
help with a 'while read' loop to change the names of files
Hi,

I am new to scripting, so any help on this would be much appreciated.

I am trying to rename a bunch of files, taking the names sequentially from a list read in another file...

# ls...
Showing results 1 to 7 of 7

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