Search Results

Search: Posts Made By: drugplant
1,986
Posted By drugplant
Hmm :-) You really need in patch? man...
Hmm :-)

You really need in patch?

man patch
1,986
Posted By drugplant
May be you need something like $ sed ...
May be you need something like

$ sed '/^echo No \/t2\/bin\/tsdbdwn2 is here, skipping$/{n; a\
Your new string after fi
}' your_file

Search your uniq line, then go to next line (which is...
12,906
Posted By drugplant
for bash: "$@" mean all arguments to current...
for bash:

"$@" mean all arguments to current script
That is, "$@" is equivalent to "$1" "$2" ...

#!/bin/bash
echo "All args: $@"
echo "First arg: $1"
echo "Second arg: $2"

-----
$...
32,829
Posted By drugplant
find /app/data -type f -exec touch '{}' \; ...
find /app/data -type f -exec touch '{}' \;

will touch every regular file under /app/data

if you want touch only files with given name...
find /app/data -type f -name "*.20081230" -exec touch...
Showing results 1 to 4 of 4

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