Search Results

Search: Posts Made By: Mike@Work
5,001
Posted By Mike@Work
I don't know about your grep and awk stuff but...
I don't know about your grep and awk stuff but you can do something like this.

echo "sp_helpdevice /ngo" > $infile
echo ${PASSWORD} | isql -Usa -i${infile} |awk '{print $2}' | grep database |...
Forum: Solaris 09-12-2006
5,728
Posted By Mike@Work
If only we had the luxury of such a lab. I can...
If only we had the luxury of such a lab. I can run some tests on the production environment in the off hours however. Aside from looking at iostat, vmstat, and netstat are there any other utilities...
Forum: Solaris 09-08-2006
5,728
Posted By Mike@Work
FTP vs. Mount
I need to try to document the resources used when ftping files from server a to server b verses just mounting the file system from server a to server b and reading the files directly. We're copying...
Forum: Solaris 08-10-2006
12,215
Posted By Mike@Work
Yep that works too. Specifically the LC_COLLATE...
Yep that works too. Specifically the LC_COLLATE variable.
I'm not an admin so I don't know how the locale get set or why it gets unset when you su to another user.
Forum: Solaris 08-10-2006
12,215
Posted By Mike@Work
That's something to go to the Unix Admin with. ...
That's something to go to the Unix Admin with. When I do env | grep LC on the 'good' sun it comes up empty. If I do it on the 'bad' sun I get
LC_MONETARY=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1...
Forum: Solaris 08-10-2006
12,215
Posted By Mike@Work
I've got two SunOS 5.8 boxes that I use. I get...
I've got two SunOS 5.8 boxes that I use. I get this behavior on one box and not the other. On both boxes ll `which tr` returns
-r-xr-xr-x 1 root bin 14596 Jan 5 2000...
Forum: Solaris 08-10-2006
12,215
Posted By Mike@Work
Same thing echo a | tr '[a-z]' '[A-Z]' Z
Same thing

echo a | tr '[a-z]' '[A-Z]'
Z
Forum: Solaris 08-10-2006
12,215
Posted By Mike@Work
Trouble with tr
I'm not sure where to post this but it's happening on a SunOS 5.8 server so I'll try here.

I've discovered some unexpected behavior when using tr.

For example:
echo a | tr [a-z] [A-Z]
Z
...
Showing results 1 to 8 of 8

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