Search Results

Search: Posts Made By: john1212
Forum: Solaris 09-23-2010
10,269
Posted By john1212
Anybody think root can do all, no. This message...
Anybody think root can do all, no.
This message sed that exist job started as root.
Root can't do it. Job ended with exit "1".
35,777
Posted By john1212
you need package mysql-libs-5.1.47-3.el6
you need package
mysql-libs-5.1.47-3.el6
Forum: Solaris 09-22-2010
10,269
Posted By john1212
I don't known. Don't worry. You known what...
I don't known.
Don't worry.
You known what scipt start about 14:30.
check this script, if it is safe try do the scipt as root....
3,656
Posted By john1212
.............................................
.............................................
3,656
Posted By john1212
echo " Searching for the search String from...
echo " Searching for the search String from "${archFilePattern}" "
10,446
Posted By john1212
string is collect of charakters, can be only one...
string is collect of charakters, can be only one character
OK?
can do:
tr -d '\015\080' file
or
tr -d 'acd' file
I think, your shall sey you what use "" or ''.
1,381
Posted By john1212
It's only one filesystem? let: df -k; df...
It's only one filesystem?
let:
df -k; df -i;quota

I think, you start vi in xterm?

xterm
OK?
at xterm
vi filename
1,936
Posted By john1212
awk '{ i=1;while (i <= NF) {print $i, $(++i),...
awk '{ i=1;while (i <= NF) {print $i, $(++i), $(++i); ++i}}'
shorter:
awk '{ i=0; while (i < NF) {print $(++i), $(++i), $(++i)}}'
3,332
Posted By john1212
Dear hindesite!! For me, your comment about my...
Dear hindesite!!
For me, your comment about my chance is unnecessary.
You work though you 'not good at sed yet'.
I recall you, 'grep' you written.
What for do I know that you don't want the name...
3,777
Posted By john1212
try include(`bash_macros.m4') ...
try

include(`bash_macros.m4')
START_SCRIPT(`fake_script',`Automation Dept.')dnl
GLOBALS()
SANITY_CHECKS()
FUNCTIONS()
MAIN()
END_SCRIPT()
6,106
Posted By john1212
exactly: grep "^r [^ ]* 3 "
exactly:
grep "^r [^ ]* 3 "
7,268
Posted By john1212
Is it good? awk...
Is it good?
awk 'BEGIN{FS="`";RS="|";OFS="`";ORS="|"}{print $1,$2,$3,$4|"tidy -config tidy.cfg";print $5|"tidy -config tidy.cfg"; print $6,$7}' infile.csv > outfile.csv
2,435
Posted By john1212
set nohls forever vi .vimrc add line: set...
set nohls
forever
vi .vimrc
add line:
set nohls
7,268
Posted By john1212
change awk to gawk your awk don't like pipe ...
change awk to gawk
your awk don't like pipe

to test try
echo "a"| awk '{ print $0 | "cat 1>&2" }'
Forum: AIX 09-20-2010
14,100
Posted By john1212
mount the filesytem test, have you any...
mount the filesytem
test, have you any snapshots:
mmlssnapshots /dev/gpfslv -d
example:
Snapshots in file system fs1: [data and metadata in KB]
Directory SnapId Status Created ...
5,563
Posted By john1212
Now,it's new homework?
Now,it's new homework?
2,914
Posted By john1212
stty set the options for a terminal, at cron...
stty
set the options for a terminal, at cron you haven't terminal
you can't use the command

My propossition, change job;
SHELL=/usr/bin/ksh; export SHELL; . $HOME/.profile 2>/dev/null ; xxx.sh...
5,563
Posted By john1212
It works too: sed -n '/ORGANISM/{n;N;N;N;s/\n/...
It works too:
sed -n '/ORGANISM/{n;N;N;N;s/\n/ /gp}'
readable format:
sed -n '/ORGANISM/ {
n;N;N;N
s/\n/ /gp ...
3,332
Posted By john1212
grep $varEQ *.ini | sed -n 's/\(.*\)#.*/\1/p' >>...
grep $varEQ *.ini | sed -n 's/\(.*\)#.*/\1/p' >> /tmp/ini_FTP_settings_$INTFC.lst
5,563
Posted By john1212
sed -n '/ORGANISM/{n;p;n;p;n;p;n;p}'|tr -d '\n'...
sed -n '/ORGANISM/{n;p;n;p;n;p;n;p}'|tr -d '\n' && echo
OR(can be not work)
sed -n '/ORGANIZM/{n;p;n;p;n;p;n;p}'| sed -n 's/\n//gp'
3,777
Posted By john1212
define(`START_SCRIPT',`#!/bin/bash ...
define(`START_SCRIPT',`#!/bin/bash
#####################################
# File: $1
# Auth: $2
# Desc:
#
# TODO:
# BUGS:
# RCS: $Id$
#####################################
')dnl ...
4,145
Posted By john1212
I used "z" as "/" in s command...
I used "z" as "/" in s command s/REGEXP/REPLACEMENT/FLAGS
4,145
Posted By john1212
thanks scotnn. thanks. echo...
thanks scotnn. thanks.
echo "/a/bc/def/PAT_logs/g/hi/jkl/" | sed "sz/PAT_logszzg'
it's better:
echo "/a/bc/def/PAT_logs/g/hi/jkl/" | sed "sz/PAT_logszz'
output:
/a/bc/def/g/hi/jkl
4,145
Posted By john1212
pwd | sed 's/\\PAT_logs//'
pwd | sed 's/\\PAT_logs//'
13,982
Posted By john1212
pwd | sed 's/\\PAT_logs//'
pwd | sed 's/\\PAT_logs//'
Showing results 1 to 25 of 136

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