Search Results

Search: Posts Made By: Paul Walker
2,391
Posted By Scrutinizer
To add, you can use the d command to go to the...
To add, you can use the d command to go to the next cycle without further processing.
2,391
Posted By RudiC
Note that you can simplify your sed script using...
Note that you can simplify your sed script using a "back reference" on top of other sed idiosyncrasies (cf man sed):


sed -rn '\#<(PreviousJobNum>)[A-Z]*[0-9]+[A-Z]*</\1#p' file...
2,391
Posted By MadeInGermany
The n command fetches the next input line. No sed...
The n command fetches the next input line. No sed code follows that does something on it, so it goes to the next cycle that - as usual - fetches the next input line, in this case the over-next line....
2,192
Posted By MadeInGermany
If your input data is processed in sequence, a...
If your input data is processed in sequence, a text file is the perfect form. And the shell is great in handling text files. (An array is good for random access.)
A simple "echo" demo:
# read two...
2,192
Posted By Corona688
Now that you specify excel input -- not just XLS...
Now that you specify excel input -- not just XLS but XLSX -- that changes things quite a lot.

It would be good to see sample input and output data.
2,192
Posted By Corona688
What substitution of what variables? A flat...
What substitution of what variables?

A flat file is a file like this:

data1
data2
data3
data4
data5

Which can be used without transforming it into an array like
while read LINE
do
......
2,192
Posted By Corona688
If I understand you, it's almost as easy as...
If I understand you, it's almost as easy as adding >filename to the end of your loop.

for i in "${filelist_array[@]}"
do
cat <<EOD
tell application "Microsoft Excel"
activate
set...
1,254
Posted By RudiC
I'd be quite surprised if above worked. cp...
I'd be quite surprised if above worked. cp doesn't output to stdout, so the "command substitution" ( WHY used here?) doesn't deliver anything, and thus the CopyXmlVar will remain empty and can't...
1,254
Posted By RudiC
The way you posted it made me think of <newline>...
The way you posted it made me think of <newline> chars.

Usage of cp and the host part missing in the target path lends itself to the assumption you have NFS exports mounted? Sure it's correctly...
1,254
Posted By RudiC
If your target really contains a <newline>...
If your target really contains a <newline> character, enclose it in double quotes.
1,051
Posted By RudiC
You lost me here: Yes - put the source...
You lost me here:



Yes - put the source /CRACK-U-DFE/DFE_CAPTURE into the while loop.
10,717
Posted By RudiC
You can take above as an example and encode every...
You can take above as an example and encode every single variable that you use in your command. like $(url_var $JSESSIONID0) etc. Give it a try and report back.
2,068
Posted By Corona688
It's possible to get an ssh server running on...
It's possible to get an ssh server running on windows but complicated and ugly.

Another way to do so would be to run a proxy server on your windows machine. Your curl program could use it as a...
Showing results 1 to 13 of 13

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