Search Results

Search: Posts Made By: anykao
21,743
Posted By anykao
Hi drl Thank you for your reply. I...
Hi drl

Thank you for your reply.

I have abstracted my problem by using the txt file as input source. In fact, it might be output of other commands.
For example


set x = ( "`isql -Uu...
21,743
Posted By anykao
Hi drl Thank you again for your timely...
Hi drl

Thank you again for your timely reply.

What I want is that the output is just the same as input.

So if I got a file
cat > data1 <<EOF
a b c
e

f
EOF

I put it into a...
21,743
Posted By anykao
I have a new problem with this. If there is...
I have a new problem with this.

If there is a blank row in the file, the csh will skip it and output like there is no such line.


#!/bin/csh
cat > data1 <<EOF
a b c
e

f
EOF

set x...
21,743
Posted By anykao
Thank you drl. The code works like a charm...
Thank you drl.

The code works like a charm for me.

I know csh is awkward, but my project is confined to it.

I have resolved the problem using perl.But I will give csh a try using your code....
21,743
Posted By anykao
help with multiline variable in csh
My shell is csh and it is required.
I have a file like sample.txt
------------------------
a b c
d
e
f
g h i
------------------------
I want set the file to a variable and print it out in...
Showing results 1 to 5 of 5

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