Search Results

Search: Posts Made By: lazybaer
1,349
Posted By lazybaer
works perfectly Thanks Lazy ...
works perfectly

Thanks

Lazy

---------- Post updated at 02:50 PM ---------- Previous update was at 02:33 PM ----------

one last question:

how would the code be with a second grep?
...
1,349
Posted By lazybaer
Search in Scripts
Hi

I'd like to search content of my apple scripts and list the results. What I have is:

find /Scripts -name "*.scpt" -exec osadecompile '{}' \; | xargs -0 grep -l "POSIX"

With that...
829
Posted By lazybaer
Thanks Allister != is working Lazy
Thanks Allister

!= is working

Lazy
829
Posted By lazybaer
A special compare
Hi

I use the following compare

if [[ "${ben_lfw[@]}" == *"$vl"* ]]; then ...

Can anyone tell me, how to code the compare for unequal? I got no results from google searches.

Any hint or...
1,086
Posted By lazybaer
I have now the solution, thanks RudiC Looks...
I have now the solution, thanks RudiC

Looks like that

printf "%3s" $4; echo " % xxx yyyyyyy zzzzz"

Regards
Lazy
1,086
Posted By lazybaer
Was ich habe, ist ein ermittelter Wert 56 ...
Was ich habe, ist ein ermittelter Wert

56
6
100
45

und was ich möchte, sollte so aussehen

56
6
100
45

zB auf dem Bildschirm

Lazy
1,086
Posted By lazybaer
Leading blanks
Hi

Ich have a list as follows

73
5
100
45
81
4

and I would like to have an output (on screen) like that

73
5
100
45
81
4
15,708
Posted By lazybaer
drwx------+
Hi

What does the + in the string

drwx------+ 3 xxxx staff 102 12 Feb 11:39:12 2012 application.app

mean? Is there a manual?

Regards
Lazy
8,015
Posted By lazybaer
ln via ssh?
Is it possible to make a hard link on an item via ssh?
3,234
Posted By lazybaer
hi thanks all i will use the following...
hi

thanks all

i will use the following solutions

st=$(printf '%*s' "$l" ' ' | tr ' ' "*")

st=$(awk -v c="$l" 'BEGIN { while (++a<=c) s=s "x"; print s }')thanks
lazy
3,234
Posted By lazybaer
how can i replace the 50 by a variable? lazy
how can i replace the 50 by a variable?
lazy
3,234
Posted By lazybaer
hi in the awk solution: how can i replace 50...
hi

in the awk solution: how can i replace 50 with a variable?

regards
lazy
3,234
Posted By lazybaer
found a solution, thanks all lazy
found a solution, thanks all
lazy
3,234
Posted By lazybaer
build a string of asterisks elegantly
hi

in a script i hate string definitions like

str="***********************************"

who can help to build a 50 character long string of asterisks more elegantly?

any hint is welcome
...
2,840
Posted By lazybaer
i mean the normal osx aliases (right click ...)
i mean the normal osx aliases (right click ...)
2,840
Posted By lazybaer
rsync doesn't copy aliases fully
Hi
I use rsync with options -aHv to make backups. Unfortunately all aliases will be copied only partly. Is there an option to avoid this?
Any hint is welcome.
Regards and thanks in advance....
Forum: OS X (Apple) 11-10-2010
2
1,152
Posted By lazybaer
\{\} \
Hi

I use the following instruction in a script

/usr/bin/find /Library/Safari/ -not -name Bookmarks.plist -execdir /bin/rm -rf \{\} \

I know what is going to happen. What I do not understand...
1,529
Posted By lazybaer
Textfile lesson
Tag allerseits

Ich habe ein umfangreiches Script. Darin möchte ich zu Beginn ein textfile lesen. Den ersten Satz.

Dann kommen mehrere Instruktionen und dann soll wieder gelesen werden. Den...
1,548
Posted By lazybaer
Thanks Tony - you gave me a very understandable...
Thanks Tony - you gave me a very understandable reply. Regards - Lazy
1,548
Posted By lazybaer
questions to a special ls
Hi

Can anyone explain me in detail the following instructions (1st and 2nd line only)?

ls | \
while IFS= read filename
do
(some other instructions)
done

Thanks in advance.
Lazy
5,675
Posted By lazybaer
thanks methyl, very useful
thanks methyl, very useful
5,675
Posted By lazybaer
thanks jim
thanks jim
5,675
Posted By lazybaer
unix executable file
Hi - How can I find out under sh whitch file is an unix executable file? Need it for an software inventory. Thanks in advance. Regards - Lazybaer
Showing results 1 to 23 of 23

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