Re: Sed scipt issue



The shell is
/bin/bash

The sedscript is in the same folder as the main script.

On May 30, 12:46 am, Maxwell Lol <nos...@xxxxxxxxxxx> wrote:
Ed Morton <mor...@xxxxxxxxxxxxxx> writes:
sed: Couldn't open file sedscript.txt
If that's not it, run the command again and do a copy/paste of the
command line and output so we can see it. Also tell us which shell
you're using and post the contents of "sedscript" if it's small.

Also - try using the full pathname to the script in cause it's not in
the current directory.


.



Relevant Pages

  • Re: shell scripting
    ... and am assuming an sh-compatible shell here.... ... command 1 options arguments ... To run the script, do: ... then you need to use the full path to execute it: ...
    (comp.unix.questions)
  • Re: shell scripting
    ... and am assuming an sh-compatible shell here.... ... command 1 options arguments ... To run the script, do: ... then you need to use the full path to execute it: ...
    (comp.unix.shell)
  • Re: [ Attn: Randy ] Ad-hoc Parsing?
    ... I can write and compile ... >>programs inside a shell, ... But for me it is essential, that the script ... > internal command), the this script can be executed even if there ...
    (alt.lang.asm)
  • Re: Script to extract portions of text from a text file
    ... > But your example is not comparing the same command. ... it wouldn't be sent to the shell until you press enter). ... >> behaves differently in a script and at the prompt ... While awk does: ...
    (comp.unix.shell)
  • Re: Setting additional environment variables WITHIN an expect script
    ... command you are assuming that env ... If someone running a real shell ... >>a little proc that gets all the env info from the spanwed shell and then ... >>script is run before you even run expect and then it will inherit the values ...
    (comp.lang.tcl)