[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-admin
Subject: Re: Shell variable
From: Mofeed Shahin <shahin () labf ! org>
Date: 1998-09-12 18:41:35
[Download RAW message or body]
---------------
#!/bin/csh
set A = `cat /bin/temp`
echo $A
---------------
But there seems to be the limit of how big the file can be.
I don't know what that is, I'm sure it isn't too difficult to find
out.
> I need to put the contents of a file into a shell variable. e.g contents of
> the file /bin/temp would be stored in the variable A and upon echoing
> variable A i.e $A I should get the output which were stored in file
> /bin/temp.
Cheers Mof.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic