Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Jairaj
1,800
Posted By Jairaj
Extract values based on parameters passing in arguments
Based on arguments passing in command prompt values should fetch and store in new file.

Sample:-


sh test.sh 10 30 35 45

cat test.sh
..

cut -c $1-$2,$3-$4 file_name >> file_new
......
Showing results 1 to 1 of 1

 

Featured Tech Videos

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