Afficher un message
Vieux 21/08/2006, 13h10   #6
Stephane Chazelas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
 
Page generated in 0,04889 seconds with 9 queries