Re: shel script problem regarding arrays
On 21 Aug 2006 04:44:55 -0700, Danish wrote:
[...]
>> Use sed l < your-script to identify where the CRs are.
[...]
> I did sed my-script.sh
>
> But it gave me the following error....
>
> #sed ls2.sh
> sed: -e expression #1, char 2: extra characters after command
[...]
I wrote:
sed l < ls2.sh
That the letter l (el) after sed.
Or
cat -vte < ls2.sh
or
od -c < ls2.sh
Or
vi ls2.sh
Then
:set list
within vi.
--
Stephane
|