Search Results

Search: Posts Made By: wilsb8
22,246
Posted By wilsb8
I'd use tr instead. tr '\n' ' ' < input; tr...
I'd use tr instead.

tr '\n' ' ' < input; tr '\t' ' ' < input

Point being that sed uses newlines as delimiters and thus has a hell of a time working with them.
Forum: Programming 11-03-2011
2,231
Posted By wilsb8
I'm not quite following this. Are you saying...
I'm not quite following this.

Are you saying you want to work out what the current year month and day is from the number of minutes elapsed since January 1, 1996?
Forum: AIX 11-03-2011
12,256
Posted By wilsb8
Yeah...it's not that simple. #!/bin/bash #...
Yeah...it's not that simple.

#!/bin/bash
# zkill - zombie process killing script
# Must be run under root.
case "$1" in
--admin)
stat=`ps ax | awk '{print $1}' | grep -v "PID" | xargs...
Showing results 1 to 3 of 3

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