Search Results

Search: Posts Made By: saswerks
2,128
Posted By saswerks
Thanx
Hi thank you for catching that, it worked. :)
2,128
Posted By saswerks
basic part 2
Yes I tried the n = `ls -1|wc -l` option but it did not work!

I get the following (submitted via sh -x filename)
> sh -x cleanjobs.scr
+ cd /mcr_temp
+ wc -l
+ ls -1
+ n = 23...
2,128
Posted By saswerks
Basic and me being el-stupido
Hi folks, brain dead here, In the following code, I cannot get the value of the variable into the line I want sent in the email:
---code---
cd /mcr_temp
n= ls -1|wc -l
echo " $n were still...
1,870
Posted By saswerks
Ty
Thank you all for your reply. I was so close BH (I was doing f1 not f 1-2). It works nice!

Thank you all again for your time and help.
1,870
Posted By saswerks
extracting value from input
Hi folks. I was wondering how can one do the following (awk, sed, or grep command)...I am at a loss

I need to extract the value of a line (list of PATH) as

/abc/blah/more/blah

I want to...
6,978
Posted By saswerks
Update
I figured it out. Thank you for pushing me in the right direction
6,978
Posted By saswerks
find and move, part II
Thank you for your reply. Looks like this will work, however, I am getting the following as a result of the sed command:
+ echo /home/sasadm/setinit.txt
j=ome/sasadm/setinit.txt

I need the...
6,978
Posted By saswerks
find move
Hello folks. I have read the forum here, almost came close to using some of the hints but too much info so I need a little nudge.

OBJECTIVE: I want to write a script that looks at certain type of...
1,515
Posted By saswerks
Thank you
Hey gjduff, thanks a bunch! By the way your sn is very hard to pronounce 10 times in a row...try it :)
1,515
Posted By saswerks
control file saving by type
Thank you gjduff! I have bunch of users who consistently save their outputs in their code library and code in output library, we have tried every thing short of clobbering 'em over the head...hence...
2,446
Posted By saswerks
creating email based on an output
Hello folks. I need to create a script that looks at a certain output (list of full paths of files) and gets the owner's name (2nd position in the path, for example:...
1,515
Posted By saswerks
Control saving file by type
Is there a way to control that under a specific directory only a file with certain extension is allowed to be saved, others are denied.

For example, only *.txt extension is allowed to be saved in...
Showing results 1 to 12 of 12

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