Search Results

Search: Posts Made By: jfisch
2,217
Posted By jfisch
I wrote a lot of shell scripts (ksh) and all...
I wrote a lot of shell scripts (ksh) and all scripts runs on solaris as well on aix.
30,981
Posted By jfisch
I found a solution in between: ...
I found a solution in between:

NUMBER=`printf "38341\n"` | sed -n "$NUMBER"'p'

(watch one the double quotes "$NUMBER" and quotes 'p')

prints:

+ sed -n 38341p
+ + printf 38341\n...
30,981
Posted By jfisch
Passing variables to sed
Hi folks,

I'm looking for a solution to pass variables to a sed-command. I'm reading a lot of threats and also the q&a "How can I use a variable in sed?". None of these commands works. I'm using...
Showing results 1 to 3 of 3

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