Search Results

Search: Posts Made By: bora99
8,557
Posted By bora99
i corrected it in my post, your solution is...
i corrected it in my post, your solution is easier, without date functions
8,557
Posted By bora99
Check, if date is not today
hello,

in a file exist entries in date format YYYYMMDD. i want to find out, if there are dates, which isn't today's date.

file:
date example text
20140714 <= not today's date...
1,139
Posted By bora99
this syntax doesn't do the right copy . ...
this syntax doesn't do the right copy .



i have now a better version, which do the the right copy
1,139
Posted By bora99
Rsync defined directory
i want to copy with rsync a specified (sub)-directory and the according folders and files below. my test failed :

cd /dir
/usr/bin/rsync -ravz -e ssh --include='*/' --include='*/00/*/*'...
Forum: Linux 12-27-2013
2,488
Posted By bora99
what do you mean with "a kind request" ? i...
what do you mean with "a kind request" ?

i added now code tags for any code/command, hope better ?
Forum: Linux 12-24-2013
2,488
Posted By bora99
Berkeley version bdf: combination of inode and file system usage
hello,

i need a command like "bdf" of HP-UX. ( report number of free disk blocks (Berkeley version) ). it should report inode and file system usage in one line like bdf -i

manpage :
Man...
2,211
Posted By bora99
perl/sed -i removes link
hello,

is it a behavior of or
that "-i" removes unix link .

example :

i create a file "src_file" and link it to "link_file" and then i start "perl -i"



the link is removed. does...
5,083
Posted By bora99
korn shell: check the content of a string of a variable
hello,

i have a variable which should have following content :

var="value1"
or
var="value2"
or
var="value2:[digit][digit]*" # example: value2:22

how can i check :
- if the content is...
4,442
Posted By bora99
perl and HP-UX : instmodsh in combination with software depot : update inventory for installed Perl
we create a HP-UX software depot with a new perl-modul. after installation of the software depot, the perl module
i can't find with instmodsh in the inventory for installed Perl modules.

- i have...
11,325
Posted By bora99
No Help ?
No Help ?
11,325
Posted By bora99
cmd find: exclude directory when using option -depth
hello,

i want to use "-depth" in command "find" and want to exclude a directory.
the find command should work in HP-UX and Linux.

i see in the find man page:
-prune
If -depth is not...
5,352
Posted By bora99
this is new for me but for me issue : the...
this is new for me but for me issue : the behaviour of REGEXP is the same at all os versions? right ? i have to test it !

---------- Post updated at 03:20 PM ---------- Previous update was at...
Forum: HP-UX 02-03-2012
34,143
Posted By bora99
here a good thread : HP Communities - copy a...
here a good thread :

HP Communities - copy a filesystem best solution (local host or re... - Page 2 - Enterprise Business Community...
5,352
Posted By bora99
hmm, what should it do, when i want to use a...
hmm, what should it do, when i want to use a shell script at different os versions (HP-UX, Linux (SuSe / RedHat ).

like :
case "$(uname)" in
HP-UX ) .... awk
Linux ) .... awk
esac
...
5,352
Posted By bora99
replace awk with a perl one liner (REGEXP and FS)
hello,
I want to replace awk with a perl one liner in unix.
i use in awk REGEX and FS ( field separator) because
awk syntaxes in different unix os versions have not the same behaviour.

Awk,...
32,134
Posted By bora99
Ruby interpreter looks good , i tested it and...
Ruby interpreter looks good , i tested it and shell code formatting looks good
32,134
Posted By bora99
i use version emacs 22.2.1 but i didn't find an...
i use version emacs 22.2.1 but i didn't find an item for formatting code
32,134
Posted By bora99
code formatter for shell script
hello,

do anybody know a program to format a shell script code ?

i tried "editrocket.com" but this product doesn't format a shell script code.

i searched for programs but can't find a shell...
5,750
Posted By bora99
hello, thank's for your answer, i use "akw"...
hello,

thank's for your answer, i use "akw" because the main plattform is hpux and "gawk" is a an optional software product. i extend a litte bit your "awk" and this is now my solution:
...
5,750
Posted By bora99
sed - print old line and new changed line
hello,

i have a file "TEST" and want to change the digit(s) after "=" . but i also want to print the old entry with a comment (for information).
i want to use "sed", is it possible ?

file:...
1,860
Posted By bora99
Solutions
I got an solutions of experts:

# perl -00 -pe 's/TABLESPACE "AMITTEL"/TABLESPACE "APPLI"/gms;s/(TABLESPACE\s*REM\s*)"AMITTEL"/$1"APPLI"/gms' file

or

# perl -00 -pi.old -e 's/TABLESPACE...
1,860
Posted By bora99
hello, i want to change all entries of...
hello,

i want to change all entries of TABLESPACE "*":

i have a string, which occurs in one line like :
REM 255 TABLESPACE "AMITTEL" LOGGING PARTITION BY RANGE ("FIRMA" ,

then i also i have...
1,860
Posted By bora99
change of a string in different lines
hello,
i have a dynamic file, which is generated by an ORACLE tool. Now i want to change a string, which begins with TABLESPACE following by "Name of Tablespace". The name of the new TABLESPACE is...
6,275
Posted By bora99
search excat string in another string (grep "fails")
hello,

i have an statement which i have to correct because it shows the wrong result.

i want to search an excat string in another string, command "grep" shows the wrong result:

example:
...
2,492
Posted By bora99
Thank you for your fast answer. I made some tests...
Thank you for your fast answer. I made some tests with gettext (HP-UX,Linux). We will choice gettext.
Showing results 1 to 25 of 28

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