Search Results

Search: Posts Made By: yazi0127
2,315
Posted By yazi0127
you can use "cut" instead. echo ${i}| sed...
you can use "cut" instead.


echo ${i}| sed "s|http://svn.company.com/svn/${module}/trunk/||g" | cut -d"/" -f2
16,617
Posted By yazi0127
#!/bin/sh PATTERNS=`cat patternfile` ...
#!/bin/sh

PATTERNS=`cat patternfile`

for pat in $PATTERNS
do
cat File2 | grep "^$pat\>"
done
4,689
Posted By yazi0127
cat <file> | wc -l > count.txt x="$count.txt"; ...
cat <file> | wc -l > count.txt
x="$count.txt";

==>
x=`cat <file> | wc -l`
Showing results 1 to 3 of 3

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