Search Results

Search: Posts Made By: girija
85,539
Posted By Neo
No, the economy is virtual. There is no actual...
No, the economy is virtual. There is no actual cash/currency value, directly or implied by the forums.
3,438
Posted By rdcwayx
cut -d \- -f1 < urfile
cut -d \- -f1 < urfile
3,438
Posted By pravin27
something like this, sed 's/-.*//g' infile
something like this,

sed 's/-.*//g' infile
3,438
Posted By kevintse
Or this: awk -F- '{print $1}' infile
Or this:
awk -F- '{print $1}' infile
3,438
Posted By frans
if values in variablesfor VAR in "libmm-2.0"...
if values in variablesfor VAR in "libmm-2.0" "libytytsunos-5.6"
do echo ${VAR%%-*}
done
2,195
Posted By ygemici
try with add your script source...
try with add your script

source /homeyourdir/.profile
2,195
Posted By vbe
What ygemici was trying to explain was: If you...
What ygemici was trying to explain was: If you have no issues when executing in interactive mode, but have when in batch, it is to do with your environment. one way to solve is to source your...
14,832
Posted By rajamadhavan
awk 'BEGIN{FS=";"} {print $0,$2;}' file | sed -e...
awk 'BEGIN{FS=";"} {print $0,$2;}' file | sed -e 's/ csp / /g'
Forum: HP-UX 08-10-2010
8,263
Posted By methyl
In HP-UX. For one user (excluding system...
In HP-UX.

For one user (excluding system users).
listusers -l <loginname>

For all users:
listusers


If you want to process the data in a script the output from "logins" with "-o" option...
5,000
Posted By clx
'/TEST [0-9][0-9]*/ searching for the pattern....
'/TEST [0-9][0-9]*/
searching for the pattern. TEST<space><one or more digits>

s/.*TEST \([0-9][0-9]*\).*/\1/p'
removing everything but the required numbers from the above matched lines.
...
281,615
Posted By Neo
Simple rules of the UNIX.COM forums:
RULES OF THE UNIX AND LINUX FORUMS

For the latest version of the community rules (the official community rules page), please visit here. (https://www.unix.com/misc.php?do=cfrules)


No flames,...
Showing results 1 to 11 of 11

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