Search Results

Search: Posts Made By: Topaz
11,492
Posted By Topaz
Is this a Bourne or Korn (or whatever script)? ...
Is this a Bourne or Korn (or whatever script)?
If the first line of your script does not call out a shell, it will run in the shell from which you are logged in as.
Using the . will use the current...
1,344
Posted By Topaz
This will work. # ls filename.xxx.201*...
This will work.

# ls filename.xxx.201* filename.zzz.201* > myfile
14,373
Posted By Topaz
Here is a script that you can use (see attached)....
Here is a script that you can use (see attached). You will have to modify it a bit because it is based on a source HP-UX box. But it will push out to most *NIX flavors.
4,374
Posted By Topaz
TYVM rdcwayx and drl. I guess if I was going to...
TYVM rdcwayx and drl.
I guess if I was going to use it enough and I am really 'lana' about using ksh internals, I could just write a function like this.
strip () {
read -p "Input: " istring
...
4,374
Posted By Topaz
ksh Multiple Pattern Matching Operators
I figured this would be simple, but I am stuck.

Variable longpath="/dir1/dir2/dir3/filename.stuff.morestuff.garbage"
I want to end up with just "filename.extra.moreextra". So, I want to get rid...
Showing results 1 to 5 of 5

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