Search Results

Search: Posts Made By: andrewsc
4,395
Posted By andrewsc
the perl code does work for me. Can the awk be...
the perl code does work for me. Can the awk be modified to grab the section 5 rows earlier? Also, include the last line that has the ENDSTM.

Thanks
4,395
Posted By andrewsc
The awk gets the page(s) I need. However, on the...
The awk gets the page(s) I need. However, on the first page I actually need to start 5 lines above the "123456" (6 including that line).
4,395
Posted By andrewsc
get part of file with unique & non-unique string
I have an archive file that holds a batch of statements. I would like to be able to extract a certain statement based on the unique customer # (ie. 123456). The end for each statement is noted by...
Forum: AIX 08-26-2008
5,081
Posted By andrewsc
Relay to Exchange Server
AIX 5.3
Domain: domainna
Exchange Server: ex05.domainname.com

Our emails that are generated from Unix going to the "outside world" are now being rejected by most hosts. The current relay is...
Forum: AIX 07-10-2008
4,024
Posted By andrewsc
Changing User Characteristics
We use smitty to administer user accounts. Is it safe to make changes to the characteristics of a user while the user is logged in?

Can I set "Is this user ACCOUNT LOCKED?" to true ?
Can I set...
Forum: AIX 07-09-2008
26,840
Posted By andrewsc
This did the trick... find . \( -name . -o...
This did the trick...
find . \( -name . -o -prune \) -type f -mtime +14 ...

-maxdepth is not available in AIX 5.3.

I will use -exec as well.

Thanks.
Forum: AIX 07-09-2008
26,840
Posted By andrewsc
find command - no subdirs
I am looking to delete files that are of a certain age with something like the following...

find /directory -type f -mtime +14 | xargs rm

....however, I would like to only execute this on the...
2,396
Posted By andrewsc
Thanks. I needed one more line to reset IFS. ...
Thanks.
I needed one more line to reset IFS.

IFS=","
while read userid name location
do ...
2,396
Posted By andrewsc
cp not executing in while read
Hello, I am a newbie to Unix! I am having a problem trying to read in multiple values and constructing a copy command. It will work when reading in only 1 value from a file (testdata1), but there's...
Showing results 1 to 9 of 9

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