Search Results

Search: Posts Made By: TheSMan5
20,965
Posted By TheSMan5
Beautiful - it works! Thanks!
Beautiful - it works!

Thanks!
20,965
Posted By TheSMan5
Replace last character in file
Greetings UNIX folks,

I am running a tcsh script and trying to replace the last character of a file with the number 0. I know that the last character of the file will always be 1, but I only want...
6,376
Posted By TheSMan5
Thank you for your help, but I am using Tenex...
Thank you for your help, but I am using Tenex C-Shell, not bash.

I am looking for just the month - though in the original variable, there is an underscore between the month and year.
6,376
Posted By TheSMan5
Remove characters from string variable
I am running a script where one of the variables (the month and year) is input at the command line. What I would like to do is chop off the last few characters of that string to create a new...
3,841
Posted By TheSMan5
Didn't work. Same error. I have...
Didn't work. Same error.

I have investigated further and now think that the mth, day and hr variables are actually arrays, as they were formed by cutting/counting characters from a multi-line dat...
3,841
Posted By TheSMan5
Inserting variable value into filename
Greetings, people of UNIX/Linux forums.

I am having a problem with a script, where I am trying to create a new variable. The value of this variable would be dependent on the value in a couple...
Showing results 1 to 6 of 6

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