RE: pomoc z sed
to
sed -e 's/^S.*>\ //g' plik > plik2
na twoich danych tj:
S:\x\AUTOEXEC.BAT -> D:\tmp\AUTOEXEC.BAT
S:\x\boot.ini -> D:\tmp\boot.ini
S:\x\Bootfont.bin -> D:\tmp\Bootfont.bin
S:\x\CONFIG.SYS -> D:\tmp\CONFIG.SYS
S:\x\hiberfil.sys -> D:\tmp\hiberfil.sys
S:\x\IO.SYS -> D:\tmp\IO.SYS
S:\x\MSDOS.SYS -> D:\tmp\MSDOS.SYS
S:\x\NTDETECT.COM -> D:\tmp\NTDETECT.COM
S:\x\ntldr -> D:\tmp\ntldr
....
...
daje to:
D:\tmp\AUTOEXEC.BAT
D:\tmp\boot.ini
D:\tmp\Bootfont.bin
D:\tmp\CONFIG.SYS
D:\tmp\hiberfil.sys
D:\tmp\IO.SYS
D:\tmp\MSDOS.SYS
D:\tmp\NTDETECT.COM
D:\tmp\ntldr
Reply to: