Search Results

Search: Posts Made By: Tadeo Armenta
1,630
Posted By Tadeo Armenta
that's exactly the answer..... many thanks!!
that's exactly the answer.....

many thanks!!
1,630
Posted By Tadeo Armenta
if you want to list this kind of files in...
if you want to list this kind of files in terminal do

ls *.txt *.dat

if you are doing some scripting you can do some thing like

#!/bin/bash


TXT=`ls *.txt`
DAT=`ls *.dat`


echo "...
1,630
Posted By Tadeo Armenta
maybe if you can explain yourself better, i could...
maybe if you can explain yourself better, i could help you...
1,630
Posted By Tadeo Armenta
that's exactly the problem.... i already try...
that's exactly the problem....

i already try it, but ed doesn't recognize the command, even if use string instead of variables....
example:

$"/User/s/actualname/newname/g\nw"

ed only...
1,630
Posted By Tadeo Armenta
Problem editing with ed...
I have troubles passing variables to ed.
i'm trying to do something like this:


#!/bin/bash

User=`cat /etc/pmx.conf |grep User | cut -d "=" -f2`
new=$1

ed -s /etc/pmx.conf <<<...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 10:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy